ENH:close paint gizmo and exit ""gap fill" function

jira: none
Change-Id: I88b87c594791890e87bb947fd9bed03a83eee20b
(cherry picked from commit 901791201f504c97a874dcb845f98ca4abe5404b)
This commit is contained in:
zhou.xu
2025-02-12 14:35:46 +08:00
committed by Noisyfox
parent 7b00b3ec54
commit 1e591ebd97

View File

@@ -857,6 +857,9 @@ void GLGizmoMmuSegmentation::on_set_state()
ModelObject* mo = m_c->selection_info()->model_object();
if (mo) Slic3r::save_object_mesh(*mo);
m_parent.post_event(SimpleEvent(EVT_GLCANVAS_FORCE_UPDATE));
if (m_current_tool == ImGui::GapFillIcon) {//exit gap fill
m_current_tool = ImGui::CircleButtonIcon;
}
}
}