FIX: fix reset not work for movement in cut tool
Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
This commit is contained in:
parent
2193ac792e
commit
a9e3bb59a0
|
@ -154,11 +154,14 @@ void GLGizmoAdvancedCut::reset_cut_plane()
|
|||
m_cut_plane_points[3] = { min_x, max_y, 0 };
|
||||
m_movement = 0.0;
|
||||
m_height = box.size()[2] / 2.0;
|
||||
m_buffered_height = m_height;
|
||||
m_height_delta = 0;
|
||||
m_rotation.setZero();
|
||||
//m_current_base_rotation.setZero();
|
||||
m_rotate_cmds.clear();
|
||||
|
||||
m_buffered_movement = 0.0;
|
||||
m_buffered_height = m_height;
|
||||
m_buffered_rotation.setZero();
|
||||
}
|
||||
|
||||
void GLGizmoAdvancedCut::reset_all()
|
||||
|
|
Loading…
Reference in New Issue