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:
authorLukas Matena <lukasmatena@seznam.cz>2019-06-05 16:27:20 +0300
committerLukas Matena <lukasmatena@seznam.cz>2019-06-14 16:28:09 +0300
commit7b07a8da83633c5391b5b8ca8db5813ff1c367c9 (patch)
tree99689d1a69e2703beb3c87901faf986a8de4dabe /src/slic3r/GUI/Selection.hpp
parent980c6673d42e561d7bf53937e8213e2ce1f0e943 (diff)
Reset buttons: synchronization of instances/volumes
Diffstat (limited to 'src/slic3r/GUI/Selection.hpp')
-rw-r--r--src/slic3r/GUI/Selection.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/slic3r/GUI/Selection.hpp b/src/slic3r/GUI/Selection.hpp
index 54bf52706..5da1e477b 100644
--- a/src/slic3r/GUI/Selection.hpp
+++ b/src/slic3r/GUI/Selection.hpp
@@ -333,6 +333,8 @@ private:
void render_sidebar_rotation_hint(Axis axis) const;
void render_sidebar_scale_hint(Axis axis) const;
void render_sidebar_size_hint(Axis axis, double length) const;
+
+public:
enum SyncRotationType {
// Do not synchronize rotation. Either not rotating at all, or rotating by world Z axis.
SYNC_ROTATION_NONE = 0,
@@ -343,6 +345,8 @@ private:
};
void synchronize_unselected_instances(SyncRotationType sync_rotation_type);
void synchronize_unselected_volumes();
+
+private:
void ensure_on_bed();
bool is_from_fully_selected_instance(unsigned int volume_idx) const;