[Bf-blender-cvs] [434354688eb] PSketch-279: Fix: Pass cfra (with subframes) to keyframing function, instead of hacking our own
Joshua Leung
noreply at git.blender.org
Tue May 8 18:04:11 CEST 2018
Commit: 434354688eb2dfadb4375c4fe4159328f6d4fb38
Author: Joshua Leung
Date: Fri Jan 19 11:32:13 2018 +1300
Branches: PSketch-279
https://developer.blender.org/rB434354688eb2dfadb4375c4fe4159328f6d4fb38
Fix: Pass cfra (with subframes) to keyframing function, instead of hacking our own
===================================================================
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 d63151b6af1..d23f82c1636 100644
--- a/source/blender/editors/armature/pose_sketch.c
+++ b/source/blender/editors/armature/pose_sketch.c
@@ -890,7 +890,7 @@ static int psketch_direct_exec(bContext *C, wmOperator *op)
/* 6) Updates and auto keying
* - Autokeying first, so that the pose is not lost if things go wrong
*/
- psketch_bones_autokeyframe(C, scene, ob, chain, num_items, (float)CFRA);
+ psketch_bones_autokeyframe(C, scene, ob, chain, num_items, cfra);
poseAnim_mapping_refresh(C, scene, ob);
/* Free temp data */
More information about the Bf-blender-cvs
mailing list