From c92721cabfdeec94b268f7f845a65fe4b27975e8 Mon Sep 17 00:00:00 2001 From: ExPikaPaka Date: Mon, 12 Oct 2026 13:30:31 +0200 Subject: [PATCH] fix: Negative belongs with the colour corrections, not under Background It sat below the Background section purely because of source order, which read as if it were part of it. Reset moves out of both sections and becomes Reset all, since it clears the corrections and the background key alike and a reset living inside one of them would look like it only reached that far. --- src/slic3r/GUI/Gizmos/GLGizmoImage.cpp | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/slic3r/GUI/Gizmos/GLGizmoImage.cpp b/src/slic3r/GUI/Gizmos/GLGizmoImage.cpp index 27df3fba7e..4af7c0b21e 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmoImage.cpp +++ b/src/slic3r/GUI/Gizmos/GLGizmoImage.cpp @@ -691,6 +691,10 @@ void GLGizmoTextureDisplacement::render_image_input_window(float x, float y, flo "actually made of, not an even split of the range. Off leaves it alone.")); } + if (m_imgui->bbl_checkbox(_L("Negative"), layer->color_invert)) + m_preview_params_dirty = true; + hover_tip(_u8L("Prints the picture inverted, light for dark and each color for its opposite.")); + } // Color ImGui::Separator(); @@ -763,11 +767,10 @@ void GLGizmoTextureDisplacement::render_image_input_window(float x, float y, flo } // Background - if (m_imgui->bbl_checkbox(_L("Negative"), layer->color_invert)) - m_preview_params_dirty = true; - hover_tip(_u8L("Prints the picture inverted, light for dark and each color for its opposite.")); - ImGui::SameLine(); - if (m_imgui->button(_u8L("Reset"))) { + // Outside both sections, because it clears the colour corrections and the background key + // alike, and a reset that lives inside one of them would look like it only reached that far. + ImGui::Separator(); + if (m_imgui->button(_u8L("Reset all"))) { layer->brightness = 0.f; layer->contrast = 0.f; layer->saturation = 1.f; @@ -783,7 +786,8 @@ void GLGizmoTextureDisplacement::render_image_input_window(float x, float y, flo layer->color_invert = false; m_preview_params_dirty = true; } - hover_tip(_u8L("Puts every correction above back to where it started, leaving the picture as it was loaded.")); + hover_tip(_u8L("Puts every correction and the background back to where they started, leaving the " + "picture as it was loaded. Where you placed it and how big it is are not touched.")); } // The library popup lives in this window's scope, where its open request and the popup itself