[Bf-blender-cvs] [86ef1b6] PSketch: PSKetch: Some uncommitted WIP fixes/tweaks
Joshua Leung
noreply at git.blender.org
Sun Jan 31 14:28:38 CET 2016
Commit: 86ef1b6c55653941c89fa8da00865490df75049b
Author: Joshua Leung
Date: Sat Nov 21 13:31:17 2015 +1300
Branches: PSketch
https://developer.blender.org/rB86ef1b6c55653941c89fa8da00865490df75049b
PSKetch: Some uncommitted WIP fixes/tweaks
===================================================================
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 2a92cfd..aad26ac 100644
--- a/source/blender/editors/armature/pose_sketch.c
+++ b/source/blender/editors/armature/pose_sketch.c
@@ -492,6 +492,13 @@ static int psketch_direct_exec(bContext *C, wmOperator *op)
add_v3_v3v3(pchan->pose_tail, pchan->pose_head, vec);
}
}
+
+ /* Apply the data to the bones proper */
+ // FIXME: previous bones end up distorting the required pose for each bone!
+ //for (i = 0; i < num_items; i++) {
+ // bPoseChannel *pchan = chain[i];
+ // BKE_pchan_apply_mat4(pchan, pchan->pose_mat, true);
+ //}
}
/* free temp data */
@@ -500,6 +507,7 @@ static int psketch_direct_exec(bContext *C, wmOperator *op)
MEM_freeN(spoints);
/* updates */
+ //poseAnim_mapping_refresh(C, scene, ob);
WM_event_add_notifier(C, NC_OBJECT | ND_POSE, ob);
return OPERATOR_FINISHED;
More information about the Bf-blender-cvs
mailing list