[Bf-blender-cvs] [36f9ed51ae7] PSketch-279: Fix compile error

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


Commit: 36f9ed51ae7836751cca29ffb1358531387537fc
Author: Joshua Leung
Date:   Mon Jan 29 14:01:09 2018 +1300
Branches: PSketch-279
https://developer.blender.org/rB36f9ed51ae7836751cca29ffb1358531387537fc

Fix compile error

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

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

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

diff --git a/source/blender/editors/armature/pose_sculpt.c b/source/blender/editors/armature/pose_sculpt.c
index 0e1b64795c9..bc7e58b90f1 100644
--- a/source/blender/editors/armature/pose_sculpt.c
+++ b/source/blender/editors/armature/pose_sculpt.c
@@ -2046,7 +2046,7 @@ static void psculpt_brush_apply(bContext *C, wmOperator *op, PointerRNA *itemptr
 				 * After that, we'll only add extra bones based on the total
 				 * accumulated stroke length.
 				 */
-				if (pso->first) {
+				if (pso->is_first) {
 					changed = psculpt_brush_do_apply(pso, psculpt_brush_draw_apply_first);
 				}
 				else {



More information about the Bf-blender-cvs mailing list