From 4e11e17f56114133555726e0ea88226fc21951ce Mon Sep 17 00:00:00 2001 From: Alx Sa Date: Sat, 11 Oct 2025 17:46:32 +0000 Subject: [PATCH] plug-ins: Fix regression in Map Object options Resolves #15073 In 2.10, the Depth and Threshold parameters of Map Object were dependent on the Anti-Alias option being enabled. This dependency was lost in the GimpProcedureDialog port. This patch restores the connection between those variables. (cherry picked from commit 6e9523f15a63ba9b510df5db0945e31070549188) --- plug-ins/map-object/map-object-ui.c | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/plug-ins/map-object/map-object-ui.c b/plug-ins/map-object/map-object-ui.c index b93534713b..8768a2a483 100644 --- a/plug-ins/map-object/map-object-ui.c +++ b/plug-ins/map-object/map-object-ui.c @@ -438,14 +438,23 @@ main_dialog (GimpProcedure *procedure, "options-frame", "general-options", FALSE, "general-box"); - gimp_procedure_dialog_get_scale_entry (GIMP_PROCEDURE_DIALOG (appwin), - "depth", 1.0); - gimp_procedure_dialog_fill_box (GIMP_PROCEDURE_DIALOG (appwin), "options-box", - "options-frame", - "antialiasing", + + gimp_procedure_dialog_fill_box (GIMP_PROCEDURE_DIALOG (appwin), + "antialias-box", "depth", "threshold", NULL); + gimp_procedure_dialog_get_scale_entry (GIMP_PROCEDURE_DIALOG (appwin), + "depth", 1.0); + gimp_procedure_dialog_fill_frame (GIMP_PROCEDURE_DIALOG (appwin), + "antialias-frame", + "antialiasing", FALSE, + "antialias-box"); + + gimp_procedure_dialog_fill_box (GIMP_PROCEDURE_DIALOG (appwin), "options-box", + "options-frame", + "antialias-frame", + NULL); g_signal_connect (config, "notify::transparent-background", G_CALLBACK (update_preview),