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

jira: none
Change-Id: I88b87c594791890e87bb947fd9bed03a83eee20b
This commit is contained in:
zhou.xu 2025-02-12 14:35:46 +08:00 committed by lane.wei
parent d244cfdae2
commit 901791201f

View File

@ -1014,6 +1014,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;
}
}
}