[Bf-blender-cvs] [c9e85de794b] temp-gpencil-fill: GPencil: Change color for extend lines

Antonio Vazquez noreply at git.blender.org
Wed Feb 3 10:11:57 CET 2021


Commit: c9e85de794b1bdad30886160aae3e01a493b1a20
Author: Antonio Vazquez
Date:   Wed Feb 3 10:11:47 2021 +0100
Branches: temp-gpencil-fill
https://developer.blender.org/rBc9e85de794b1bdad30886160aae3e01a493b1a20

GPencil: Change color for extend lines

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

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 caf07c82842..b30db2f2c55 100644
--- a/source/blender/editors/gpencil/gpencil_fill.c
+++ b/source/blender/editors/gpencil/gpencil_fill.c
@@ -330,7 +330,7 @@ static void gpencil_draw_basic_stroke(tGPDfill *tgpf,
   int totpoints = gps->totpoints;
   float fpt[3];
   float col[4];
-  const float extend_col[4] = {0.0f, 0.0f, 1.0f, 1.0f};
+  const float extend_col[4] = {0.0f, 1.0f, 1.0f, 1.0f};
   const bool is_extend = (gps->flag & GP_STROKE_NOFILL) && (gps->flag & GP_STROKE_TAG);
   if ((is_extend) && (!tgpf->is_render)) {
     copy_v4_v4(col, extend_col);



More information about the Bf-blender-cvs mailing list