mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
Rotation/Scale from modification pane for SingleObject, SingleVolume & SingleInstance
Note: - doesn't work for group selection - scaling work only with percent mode
This commit is contained in:
parent
e83e755e8b
commit
ede21eec7a
3 changed files with 67 additions and 28 deletions
|
@ -18,8 +18,6 @@ class ObjectManipulation : public OG_Settings
|
|||
bool m_is_uniform_scale = false; // It indicates if scale is uniform
|
||||
|
||||
Vec3d cache_position { 0., 0., 0. };
|
||||
Vec3d cache_rotation { 0., 0., 0. };
|
||||
Vec3d cache_scale { 0., 0., 0. };
|
||||
|
||||
public:
|
||||
ObjectManipulation(wxWindow* parent);
|
||||
|
@ -55,6 +53,8 @@ public:
|
|||
|
||||
// change values
|
||||
void change_position_value(const Vec3d& position);
|
||||
void change_rotation_value(const Vec3d& rotation);
|
||||
void change_scale_value(const Vec3d& scale);
|
||||
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue