mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-17 20:15:57 +08:00
FIX:not TakeSnapshot for m_start_dragging_m
Jira: STUDIO-5176 Change-Id: Ia03e3e2c2664dbdcffa19ec8d0fa97dfd95e6d35
This commit is contained in:
parent
7d33cb0ff1
commit
4adae5e595
@ -590,6 +590,7 @@ void GLGizmoAdvancedCut::on_stop_dragging()
|
|||||||
m_is_dragging = false;
|
m_is_dragging = false;
|
||||||
if (m_hover_id == X || m_hover_id == Y || m_hover_id == Z) {
|
if (m_hover_id == X || m_hover_id == Y || m_hover_id == Z) {
|
||||||
Plater::TakeSnapshot snapshot(wxGetApp().plater(), "Rotate cut plane");
|
Plater::TakeSnapshot snapshot(wxGetApp().plater(), "Rotate cut plane");
|
||||||
|
m_start_dragging_m = m_rotate_matrix; // for takeshot
|
||||||
} else if (m_hover_id == c_cube_z_move_id || m_hover_id == c_cube_x_move_id || m_hover_id == c_plate_move_id) {
|
} else if (m_hover_id == c_cube_z_move_id || m_hover_id == c_cube_x_move_id || m_hover_id == c_plate_move_id) {
|
||||||
Plater::TakeSnapshot snapshot(wxGetApp().plater(), "Move cut plane"); // todo
|
Plater::TakeSnapshot snapshot(wxGetApp().plater(), "Move cut plane"); // todo
|
||||||
m_ar_plane_center = m_plane_center;
|
m_ar_plane_center = m_plane_center;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user