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

This commit is contained in:
tamasmeszaros 2020-04-29 16:26:39 +02:00
parent 769ee15475
commit 8541ce4060
5 changed files with 20 additions and 11 deletions

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();
}