mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Another fix on volumes translation
This commit is contained in:
parent
918cb48d45
commit
2548253d59
3 changed files with 14 additions and 12 deletions
|
@ -578,7 +578,7 @@ public:
|
|||
|
||||
void start_dragging();
|
||||
|
||||
void translate(const Vec3d& displacement);
|
||||
void translate(const Vec3d& displacement, bool local = false);
|
||||
void rotate(const Vec3d& rotation, bool local);
|
||||
void flattening_rotate(const Vec3d& normal);
|
||||
void scale(const Vec3d& scale, bool local);
|
||||
|
@ -597,6 +597,8 @@ public:
|
|||
void render_sidebar_hints(const std::string& sidebar_field) const;
|
||||
#endif // ENABLE_SIDEBAR_VISUAL_HINTS
|
||||
|
||||
bool requires_local_axes() const;
|
||||
|
||||
private:
|
||||
void _update_valid();
|
||||
void _update_type();
|
||||
|
@ -626,7 +628,6 @@ public:
|
|||
#if ENABLE_ENSURE_ON_BED_WHILE_SCALING
|
||||
void _ensure_on_bed();
|
||||
#endif // ENABLE_ENSURE_ON_BED_WHILE_SCALING
|
||||
bool _requires_local_axes() const;
|
||||
};
|
||||
|
||||
class ClippingPlane
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue