Follow-up of 5d38d3363c - Completed fix of synchronization of instances/volumes after resetting scale

This commit is contained in:
enricoturri1966 2023-02-24 09:10:29 +01:00
parent 038b674032
commit e5efbbc2c2

View file

@ -490,6 +490,7 @@ ObjectManipulation::ObjectManipulation(wxWindow* parent) :
#if ENABLE_WORLD_COORDINATE
GLCanvas3D* canvas = wxGetApp().plater()->canvas3D();
Selection& selection = canvas->get_selection();
selection.setup_cache();
if (selection.is_single_volume_or_modifier()) {
GLVolume* vol = const_cast<GLVolume*>(selection.get_first_volume());
Geometry::Transformation trafo = vol->get_volume_transformation();