mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-26 04:12:07 +00:00
Separate GizmoManager on_move into gizmo itself
(cherry picked from commit prusa3d/PrusaSlicer@c751d6327d)
This commit is contained in:
@@ -4667,15 +4667,6 @@ void GLCanvas3D::do_scale(const std::string& snapshot_type)
|
||||
m_dirty = true;
|
||||
}
|
||||
|
||||
void GLCanvas3D::do_flatten(const Vec3d& normal, const std::string& snapshot_type)
|
||||
{
|
||||
if (!snapshot_type.empty())
|
||||
wxGetApp().plater()->take_snapshot(snapshot_type);
|
||||
|
||||
m_selection.flattening_rotate(normal);
|
||||
do_rotate(""); // avoid taking another snapshot
|
||||
}
|
||||
|
||||
void GLCanvas3D::do_center()
|
||||
{
|
||||
if (m_model == nullptr)
|
||||
|
||||
Reference in New Issue
Block a user