diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2020-04-29 17:26:39 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2020-08-28 00:14:42 +0300 |
commit | 8541ce406069e2b710b22bec937d3405ed0e8316 (patch) | |
tree | 502f05b3ee4e070c84ab2e96ee9dc4985488a6e3 /src/slic3r/GUI/Jobs/SLAImportJob.cpp | |
parent | 769ee15475a3edc10c8dd29db8e853675091677e (diff) |
SLA archive import will now recover the model's original position.
Diffstat (limited to 'src/slic3r/GUI/Jobs/SLAImportJob.cpp')
-rw-r--r-- | src/slic3r/GUI/Jobs/SLAImportJob.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/slic3r/GUI/Jobs/SLAImportJob.cpp b/src/slic3r/GUI/Jobs/SLAImportJob.cpp index ae92bd698..adecae6ac 100644 --- a/src/slic3r/GUI/Jobs/SLAImportJob.cpp +++ b/src/slic3r/GUI/Jobs/SLAImportJob.cpp @@ -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(); } |