[Bf-blender-cvs] [893c51ca98f] greasepencil-refactor: Cleanup: Fix compiler warning

Antonio Vazquez noreply at git.blender.org
Mon Jan 6 10:57:06 CET 2020


Commit: 893c51ca98fa37dfaa689e7de6cd9b619f596fdd
Author: Antonio Vazquez
Date:   Mon Jan 6 10:45:13 2020 +0100
Branches: greasepencil-refactor
https://developer.blender.org/rB893c51ca98fa37dfaa689e7de6cd9b619f596fdd

Cleanup: Fix compiler warning

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

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

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

diff --git a/source/blender/editors/gpencil/gpencil_utils.c b/source/blender/editors/gpencil/gpencil_utils.c
index 757955d7fff..ac8c6f95c1d 100644
--- a/source/blender/editors/gpencil/gpencil_utils.c
+++ b/source/blender/editors/gpencil/gpencil_utils.c
@@ -1954,7 +1954,7 @@ void ED_gpencil_tpoint_to_point(ARegion *ar, float origin[3], const tGPspoint *t
   /* conversion to 3d format */
   gpencil_stroke_convertcoords(ar, tpt, origin, p3d);
   copy_v3_v3(&pt->x, p3d);
-  zero_v4(&pt->mix_color);
+  zero_v4(pt->mix_color);
 
   pt->pressure = tpt->pressure;
   pt->strength = tpt->strength;



More information about the Bf-blender-cvs mailing list