[Bf-blender-cvs] [ee52ae3fd2f] greasepencil-object: GPencil: Dilate more the filling area

Antonio Vazquez noreply at git.blender.org
Thu Apr 29 16:26:49 CEST 2021


Commit: ee52ae3fd2fbf3b0ffb4aa6a10e6c25c36b1cd4d
Author: Antonio Vazquez
Date:   Thu Apr 29 16:26:43 2021 +0200
Branches: greasepencil-object
https://developer.blender.org/rBee52ae3fd2fbf3b0ffb4aa6a10e6c25c36b1cd4d

GPencil: Dilate more the filling area

This is a text for small pixel gaps in complex areas

===================================================================

M	source/blender/editors/gpencil/gpencil_fill.c

===================================================================

diff --git a/source/blender/editors/gpencil/gpencil_fill.c b/source/blender/editors/gpencil/gpencil_fill.c
index 3f86e5474c5..aaa8a63dd37 100644
--- a/source/blender/editors/gpencil/gpencil_fill.c
+++ b/source/blender/editors/gpencil/gpencil_fill.c
@@ -1274,6 +1274,7 @@ static void gpencil_get_outline_points(tGPDfill *tgpf, const bool dilate)
   /* Dilate. */
   if (dilate) {
     dilate_shape(ibuf);
+    dilate_shape(ibuf);
   }
 
   for (int idx = imagesize - 1; idx != 0; idx--) {



More information about the Bf-blender-cvs mailing list