[Bf-blender-cvs] [798a1f5b0c2] greasepencil-experimental: GP: Fill: Double resolution for flood fill

Charlie Jolly noreply at git.blender.org
Mon Jan 14 17:05:48 CET 2019


Commit: 798a1f5b0c2a92a0efa6ebae52521eb42353ff47
Author: Charlie Jolly
Date:   Mon Jan 14 16:05:16 2019 +0000
Branches: greasepencil-experimental
https://developer.blender.org/rB798a1f5b0c2a92a0efa6ebae52521eb42353ff47

GP: Fill: Double resolution for flood fill

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

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 d92415012f3..a74b0ad6ef1 100644
--- a/source/blender/editors/gpencil/gpencil_fill.c
+++ b/source/blender/editors/gpencil/gpencil_fill.c
@@ -292,9 +292,9 @@ static void gp_render_offscreen(tGPDfill *tgpf)
 		return;
 	}
 
-	const int factor = 4;
-	tgpf->fill_leak = (int)ceilf((float)tgpf->fill_leak * 0.5f);
-
+	/* fill zoom factor */
+	const int factor = 2;
+	
 	/* set temporary new size */
 	tgpf->bwinx = tgpf->ar->winx;
 	tgpf->bwiny = tgpf->ar->winy;



More information about the Bf-blender-cvs mailing list