Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2019-06-18 10:57:07 +0300
committerbubnikv <bubnikv@gmail.com>2019-06-18 10:57:07 +0300
commitf72f55dc08b3526e311bb4b92f127427e57a5b3d (patch)
tree0c3e14ab404ed22ec4470c181a346d33e177c577 /src/slic3r/GUI/GUI_ObjectManipulation.cpp
parent1cbd6845d55689ddb2333a992cbe2776d5e8d091 (diff)
A bit of documentation of the mirroring and reset buttons at the side panel.
Diffstat (limited to 'src/slic3r/GUI/GUI_ObjectManipulation.cpp')
-rw-r--r--src/slic3r/GUI/GUI_ObjectManipulation.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/slic3r/GUI/GUI_ObjectManipulation.cpp b/src/slic3r/GUI/GUI_ObjectManipulation.cpp
index 224c053e4..310000ecc 100644
--- a/src/slic3r/GUI/GUI_ObjectManipulation.cpp
+++ b/src/slic3r/GUI/GUI_ObjectManipulation.cpp
@@ -216,9 +216,10 @@ ObjectManipulation::ObjectManipulation(wxWindow* parent) :
else
return;
+ // Update mirroring at the GLVolumes.
selection.synchronize_unselected_instances(Selection::SYNC_ROTATION_GENERAL);
selection.synchronize_unselected_volumes();
-
+ // Copy mirroring values from GLVolumes into Model (ModelInstance / ModelVolume), trigger background processing.
canvas->do_mirror();
canvas->set_as_dirty();
UpdateAndShow(true);
@@ -297,8 +298,10 @@ ObjectManipulation::ObjectManipulation(wxWindow* parent) :
else
return;
+ // Update rotation at the GLVolumes.
selection.synchronize_unselected_instances(Selection::SYNC_ROTATION_GENERAL);
selection.synchronize_unselected_volumes();
+ // Copy rotation values from GLVolumes into Model (ModelInstance / ModelVolume), trigger background processing.
canvas->do_rotate();
UpdateAndShow(true);