diff options
author | YuSanka <yusanka@gmail.com> | 2019-01-08 15:34:47 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2019-01-08 15:34:47 +0300 |
commit | 24e0c9b79e7faca2a3cf5a07c216648b385daf1a (patch) | |
tree | 9946a205db76f2239edd3b8410f0577c6bfed6e6 /src/slic3r/GUI/GUI_ObjectManipulation.hpp | |
parent | 4d0c0ac7483eac299fea266d9a35e8e10e3cd5de (diff) |
Added "uniform scaling" button
Diffstat (limited to 'src/slic3r/GUI/GUI_ObjectManipulation.hpp')
-rw-r--r-- | src/slic3r/GUI/GUI_ObjectManipulation.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/slic3r/GUI/GUI_ObjectManipulation.hpp b/src/slic3r/GUI/GUI_ObjectManipulation.hpp index 97cd2b639..57eb93b71 100644 --- a/src/slic3r/GUI/GUI_ObjectManipulation.hpp +++ b/src/slic3r/GUI/GUI_ObjectManipulation.hpp @@ -74,6 +74,7 @@ class ObjectManipulation : public OG_Settings Vec3d m_new_scale; Vec3d m_new_size; bool m_new_enabled; + bool m_uniform_scale {false}; public: ObjectManipulation(wxWindow* parent); @@ -88,6 +89,9 @@ public: // Called from the App to update the UI if dirty. void update_if_dirty(); + void set_uniform_scaling(const bool uniform_scale) { m_uniform_scale = uniform_scale;} + bool get_uniform_scaling() const { return m_uniform_scale; } + private: void reset_settings_value(); |