diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-04-23 15:09:24 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-04-23 15:09:24 +0400 |
commit | 855a3e6ce3741513576dac5ebbecc580fb9c07e7 (patch) | |
tree | be76320f0b469c98996af76eb3f635b78e19ecb4 | |
parent | d7306104570a91a56bf02101b89cb01781fc4294 (diff) |
Small type-tweaks (int being returned as float)
-rw-r--r-- | source/blender/editors/armature/poseSlide.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/armature/poseSlide.c b/source/blender/editors/armature/poseSlide.c index 2e4fb8a4d31..3d6888d87dc 100644 --- a/source/blender/editors/armature/poseSlide.c +++ b/source/blender/editors/armature/poseSlide.c @@ -989,11 +989,11 @@ static float pose_propagate_get_boneHoldEndFrame (Object *ob, tPChanFCurveLink * } /* get reference value from F-Curve using RNA */ -static float pose_propagate_get_refVal (Object *ob, FCurve *fcu, float *value) +static short pose_propagate_get_refVal (Object *ob, FCurve *fcu, float *value) { PointerRNA id_ptr, ptr; PropertyRNA *prop; - int found= FALSE; + short found= FALSE; /* base pointer is always the object -> id_ptr */ RNA_id_pointer_create(&ob->id, &id_ptr); @@ -1066,9 +1066,9 @@ static void pose_propagate_fcurve (wmOperator *op, Object *ob, FCurve *fcu, * doesn't need to firstly keyframe the pose (though this doesn't mean that * they can't either) */ - if(!pose_propagate_get_refVal(ob, fcu, &refVal)) + if( !pose_propagate_get_refVal(ob, fcu, &refVal)) return; - + /* find the first keyframe to start propagating from * - if there's a keyframe on the current frame, we probably want to save this value there too * since it may be as of yet unkeyed |