SLA archive import will now recover the model's original position.

This commit is contained in:
tamasmeszaros committed 2020-08-27 23:14:42 +02:00
1 parent 769ee15475
commit 8541ce4060
5 files changed
+20 -11

No files matched your search

+4 -2
View File
@@ -219,8 +219,10 @@ void SLAImportJob::finalize()
wxGetApp().load_current_presets();
}
if (!p->mesh.empty())
p->plater->sidebar().obj_list()->load_mesh_object(p->mesh, name);
if (!p->mesh.empty()) {
bool is_centered = false;
p->plater->sidebar().obj_list()->load_mesh_object(p->mesh, name, is_centered);
}
reset();
}