From 21e370e7799ce5c04bde8c576208f88bf172402e Mon Sep 17 00:00:00 2001 From: "zhou.xu" Date: Thu, 26 Oct 2023 17:35:53 +0800 Subject: [PATCH] FIX:fix enable condition of "Object" Jira: STUDIO-4958 Change-Id: Ibbd57ebe09697ec5011884eaaa72d4aa050c4bb8 --- src/slic3r/GUI/Gizmos/GLGizmoAdvancedCut.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/slic3r/GUI/Gizmos/GLGizmoAdvancedCut.cpp b/src/slic3r/GUI/Gizmos/GLGizmoAdvancedCut.cpp index 321dc25b1..7ac82c85b 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmoAdvancedCut.cpp +++ b/src/slic3r/GUI/Gizmos/GLGizmoAdvancedCut.cpp @@ -1930,6 +1930,8 @@ void GLGizmoAdvancedCut::render_cut_plane_input_window(float x, float y, float b float marker_size = 12; render_color_marker(marker_size, suffix == "##upper" ? UPPER_PART_COLOR : LOWER_PART_COLOR); + m_imgui->disabled_end(); + m_imgui->disabled_begin(!keep_part || m_cut_to_parts); float new_label_width = label_width + (m_cut_to_parts ? 10.0f : 20.0f); ImGui::SameLine(new_label_width); bool is_keep = !place_on_cut_part && !rotate_part;