Fix some mesh errors in sl1 archive reconstruction

This commit is contained in:
tamasmeszaros 2021-11-05 15:32:14 +01:00
parent 1c940ef145
commit c4c8b7608e
4 changed files with 45 additions and 50 deletions

View file

@ -236,7 +236,7 @@ void SLAImportJob::finalize()
if (!p->mesh.empty()) {
bool is_centered = false;
p->plater->sidebar().obj_list()->load_mesh_object(TriangleMesh{p->mesh},
p->plater->sidebar().obj_list()->load_mesh_object(TriangleMesh{std::move(p->mesh)},
name, is_centered);
}