Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Matena <lukasmatena@seznam.cz>2020-02-07 16:14:35 +0300
committerLukas Matena <lukasmatena@seznam.cz>2020-02-07 16:17:14 +0300
commit808e45f5b31b4e6cf5454034f8c66d031178d8f2 (patch)
treeb46da34ee7adba2499a527b8807f7fdf86a283e1 /src/slic3r/GUI/Gizmos
parent10ade4192cbf3ed810a991d3bbb774e3c1a2a3b7 (diff)
Force backend update when hollowing gizmo is closed
Otherwise, moving holes will not invalidate the drilled mesh One cannot do it immediately though, because that would also hide the hollowed mesh
Diffstat (limited to 'src/slic3r/GUI/Gizmos')
-rw-r--r--src/slic3r/GUI/Gizmos/GLGizmoHollow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slic3r/GUI/Gizmos/GLGizmoHollow.cpp b/src/slic3r/GUI/Gizmos/GLGizmoHollow.cpp
index 459038692..a84fc00c2 100644
--- a/src/slic3r/GUI/Gizmos/GLGizmoHollow.cpp
+++ b/src/slic3r/GUI/Gizmos/GLGizmoHollow.cpp
@@ -992,6 +992,7 @@ void GLGizmoHollow::on_set_state()
}
if (m_state == Off && m_old_state != Off) { // the gizmo was just turned Off
//Plater::TakeSnapshot snapshot(wxGetApp().plater(), _(L("SLA gizmo turned off")));
+ m_parent.post_event(SimpleEvent(EVT_GLCANVAS_FORCE_UPDATE));
m_parent.toggle_model_objects_visibility(true);
m_c->stash_clipping_plane();
m_c->m_clipping_plane_distance = 0.f;