mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-20 18:19:09 +08:00
ENH:close paint gizmo and exit ""gap fill" function
jira: none Change-Id: I88b87c594791890e87bb947fd9bed03a83eee20b
This commit is contained in:
parent
d244cfdae2
commit
901791201f
@ -1014,6 +1014,9 @@ void GLGizmoMmuSegmentation::on_set_state()
|
|||||||
ModelObject* mo = m_c->selection_info()->model_object();
|
ModelObject* mo = m_c->selection_info()->model_object();
|
||||||
if (mo) Slic3r::save_object_mesh(*mo);
|
if (mo) Slic3r::save_object_mesh(*mo);
|
||||||
m_parent.post_event(SimpleEvent(EVT_GLCANVAS_FORCE_UPDATE));
|
m_parent.post_event(SimpleEvent(EVT_GLCANVAS_FORCE_UPDATE));
|
||||||
|
if (m_current_tool == ImGui::GapFillIcon) {//exit gap fill
|
||||||
|
m_current_tool = ImGui::CircleButtonIcon;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user