mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 20:39:00 +08:00
FdmSupportsGizmo bugfix: reset highlighted slope after confirmation, otherwise
the highlight stays when it is confirmed and removed later
This commit is contained in:
parent
15b8e68c59
commit
1f89b3638c
@ -152,6 +152,7 @@ void GLGizmoFdmSupports::on_render_input_window(float x, float y, float bottom_l
|
|||||||
if (m_imgui->button(m_desc["enforce_button"], buttons_width, 0.f)) {
|
if (m_imgui->button(m_desc["enforce_button"], buttons_width, 0.f)) {
|
||||||
select_facets_by_angle(m_angle_threshold_deg, false);
|
select_facets_by_angle(m_angle_threshold_deg, false);
|
||||||
m_angle_threshold_deg = 0.f;
|
m_angle_threshold_deg = 0.f;
|
||||||
|
m_parent.use_slope(false);
|
||||||
}
|
}
|
||||||
ImGui::SameLine(window_width - buttons_width);
|
ImGui::SameLine(window_width - buttons_width);
|
||||||
if (m_imgui->button(m_desc["cancel"], buttons_width, 0.f)) {
|
if (m_imgui->button(m_desc["cancel"], buttons_width, 0.f)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user