FDM supports gizmo fix: make sure that slope visualizer is off when turning off the gizmo
This commit is contained in:
parent
4ed1b49955
commit
6391200390
1 changed files with 1 additions and 0 deletions
|
@ -759,6 +759,7 @@ void GLGizmoFdmSupports::on_set_state()
|
||||||
if (m_state == Off && m_old_state != Off) { // the gizmo was just turned Off
|
if (m_state == Off && m_old_state != Off) { // the gizmo was just turned Off
|
||||||
// we are actually shutting down
|
// we are actually shutting down
|
||||||
m_setting_angle = false;
|
m_setting_angle = false;
|
||||||
|
m_parent.use_slope(false);
|
||||||
wxGetApp().plater()->leave_gizmos_stack();
|
wxGetApp().plater()->leave_gizmos_stack();
|
||||||
{
|
{
|
||||||
Plater::TakeSnapshot snapshot(wxGetApp().plater(), _(L("FDM gizmo turned off")));
|
Plater::TakeSnapshot snapshot(wxGetApp().plater(), _(L("FDM gizmo turned off")));
|
||||||
|
|
Loading…
Reference in a new issue