[Bf-blender-cvs] [c2fa4d18a02] greasepencil-object: GPencil: Fix compiler warning
Antonioya
noreply at git.blender.org
Fri Mar 15 19:44:48 CET 2019
Commit: c2fa4d18a025851c9e4006c0989d24bc34f1300c
Author: Antonioya
Date: Fri Mar 15 19:44:41 2019 +0100
Branches: greasepencil-object
https://developer.blender.org/rBc2fa4d18a025851c9e4006c0989d24bc34f1300c
GPencil: Fix compiler warning
===================================================================
M source/blender/editors/gpencil/gpencil_brush.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_brush.c b/source/blender/editors/gpencil/gpencil_brush.c
index af7fc804d80..2df0edd3bf7 100644
--- a/source/blender/editors/gpencil/gpencil_brush.c
+++ b/source/blender/editors/gpencil/gpencil_brush.c
@@ -202,7 +202,7 @@ static void gpsculpt_compute_lock_axis(tGP_BrushEditData *gso, bGPDspoint *pt, c
/* compute a plane with cursor normal and position of the point
before do the sculpt */
const float scale[3] = { 1.0f, 1.0f, 1.0f };
- const float plane_normal[3] = { 0.0f, 0.0f, 1.0f };
+ float plane_normal[3] = { 0.0f, 0.0f, 1.0f };
float plane[4];
float mat[4][4];
float r_close[3];
More information about the Bf-blender-cvs
mailing list