A bit of documentation of the mirroring and reset buttons at the side panel.

This commit is contained in:
bubnikv 2019-06-18 09:57:07 +02:00
parent 1cbd6845d5
commit f72f55dc08

View File

@ -216,9 +216,10 @@ ObjectManipulation::ObjectManipulation(wxWindow* parent) :
else else
return; return;
// Update mirroring at the GLVolumes.
selection.synchronize_unselected_instances(Selection::SYNC_ROTATION_GENERAL); selection.synchronize_unselected_instances(Selection::SYNC_ROTATION_GENERAL);
selection.synchronize_unselected_volumes(); selection.synchronize_unselected_volumes();
// Copy mirroring values from GLVolumes into Model (ModelInstance / ModelVolume), trigger background processing.
canvas->do_mirror(); canvas->do_mirror();
canvas->set_as_dirty(); canvas->set_as_dirty();
UpdateAndShow(true); UpdateAndShow(true);
@ -297,8 +298,10 @@ ObjectManipulation::ObjectManipulation(wxWindow* parent) :
else else
return; return;
// Update rotation at the GLVolumes.
selection.synchronize_unselected_instances(Selection::SYNC_ROTATION_GENERAL); selection.synchronize_unselected_instances(Selection::SYNC_ROTATION_GENERAL);
selection.synchronize_unselected_volumes(); selection.synchronize_unselected_volumes();
// Copy rotation values from GLVolumes into Model (ModelInstance / ModelVolume), trigger background processing.
canvas->do_rotate(); canvas->do_rotate();
UpdateAndShow(true); UpdateAndShow(true);