Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/slic3r/GUI/Gizmos/GLGizmoMmuSegmentation.cpp1
-rw-r--r--src/slic3r/GUI/Gizmos/GLGizmoPainterBase.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/slic3r/GUI/Gizmos/GLGizmoMmuSegmentation.cpp b/src/slic3r/GUI/Gizmos/GLGizmoMmuSegmentation.cpp
index e5acda8c6..46607a9d7 100644
--- a/src/slic3r/GUI/Gizmos/GLGizmoMmuSegmentation.cpp
+++ b/src/slic3r/GUI/Gizmos/GLGizmoMmuSegmentation.cpp
@@ -651,6 +651,7 @@ void TriangleSelectorMmuGui::render(ImGuiWrapper *imgui)
shader->stop_using();
});
shader->set_uniform("slope.actived", false);
+ shader->set_uniform("print_box.actived", false);
for (size_t color_idx = 0; color_idx < m_iva_colors.size(); ++color_idx) {
if (render_colors[color_idx]) {
diff --git a/src/slic3r/GUI/Gizmos/GLGizmoPainterBase.cpp b/src/slic3r/GUI/Gizmos/GLGizmoPainterBase.cpp
index adb95b045..584f8a53f 100644
--- a/src/slic3r/GUI/Gizmos/GLGizmoPainterBase.cpp
+++ b/src/slic3r/GUI/Gizmos/GLGizmoPainterBase.cpp
@@ -653,6 +653,7 @@ void TriangleSelectorGUI::render(ImGuiWrapper* imgui)
shader->start_using();
ScopeGuard guard([shader]() { if (shader) shader->stop_using(); });
shader->set_uniform("slope.actived", false);
+ shader->set_uniform("print_box.actived", false);
if (render_enf) {
std::array<float, 4> color = { 0.47f, 0.47f, 1.f, 1.f };