[Bf-blender-cvs] [7e52145b273] PSketch-279: Fix compiler warning

Joshua Leung noreply at git.blender.org
Tue May 8 18:03:11 CEST 2018


Commit: 7e52145b2731a9b4b3c8635c248a777ec1dc6144
Author: Joshua Leung
Date:   Sun Dec 31 16:53:54 2017 +1300
Branches: PSketch-279
https://developer.blender.org/rB7e52145b2731a9b4b3c8635c248a777ec1dc6144

Fix compiler warning

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

M	source/blender/editors/armature/pose_sketch.c

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

diff --git a/source/blender/editors/armature/pose_sketch.c b/source/blender/editors/armature/pose_sketch.c
index 30ce05445eb..d56b26e6ae0 100644
--- a/source/blender/editors/armature/pose_sketch.c
+++ b/source/blender/editors/armature/pose_sketch.c
@@ -612,7 +612,7 @@ static int psketch_direct_exec(bContext *C, wmOperator *op)
 	
 	bPoseChannel **chain = NULL; /* chain of bones to affect */
 	float *joint_dists = NULL;   /* for each joint, the parametric position [0.0, 1.0] that it occupies */
-	bool reversed = NULL;
+	bool reversed = false;
 	
 	tGPStrokePosePoint *spoints = NULL;



More information about the Bf-blender-cvs mailing list