mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 22:35:58 +08:00
Follow-up of 5d38d3363c1b9496fec7f73d25873211357d769f - Completed fix of synchronization of instances/volumes after resetting scale
This commit is contained in:
parent
038b674032
commit
e5efbbc2c2
@ -490,6 +490,7 @@ ObjectManipulation::ObjectManipulation(wxWindow* parent) :
|
|||||||
#if ENABLE_WORLD_COORDINATE
|
#if ENABLE_WORLD_COORDINATE
|
||||||
GLCanvas3D* canvas = wxGetApp().plater()->canvas3D();
|
GLCanvas3D* canvas = wxGetApp().plater()->canvas3D();
|
||||||
Selection& selection = canvas->get_selection();
|
Selection& selection = canvas->get_selection();
|
||||||
|
selection.setup_cache();
|
||||||
if (selection.is_single_volume_or_modifier()) {
|
if (selection.is_single_volume_or_modifier()) {
|
||||||
GLVolume* vol = const_cast<GLVolume*>(selection.get_first_volume());
|
GLVolume* vol = const_cast<GLVolume*>(selection.get_first_volume());
|
||||||
Geometry::Transformation trafo = vol->get_volume_transformation();
|
Geometry::Transformation trafo = vol->get_volume_transformation();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user