[gimp] app: new manual closure option can't work with pattern fill.



commit 46d2d197247238671c6349b8e68ef31e6abca3b8
Author: Jehan <jehan girinstud io>
Date:   Thu Mar 3 14:01:12 2022 +0100

    app: new manual closure option can't work with pattern fill.

 app/tools/gimpbucketfilltool.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/app/tools/gimpbucketfilltool.c b/app/tools/gimpbucketfilltool.c
index f9322915cc..7c7a0de069 100644
--- a/app/tools/gimpbucketfilltool.c
+++ b/app/tools/gimpbucketfilltool.c
@@ -455,7 +455,8 @@ gimp_bucket_fill_tool_preview (GimpBucketFillTool *tool,
                                                          fill_options,
                                                          options->line_art_source ==
                                                          GIMP_LINE_ART_SOURCE_SAMPLE_MERGED,
-                                                         options->fill_as_line_art,
+                                                         options->fill_as_line_art &&
+                                                         options->fill_mode != GIMP_BUCKET_FILL_PATTERN,
                                                          options->fill_as_line_art_threshold / 255.0,
                                                          options->line_art_stroke,
                                                          options->stroke_options,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]