Revision: 36297
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36297
Author: aligorith
Date: 2011-04-23 11:09:24 +0000 (Sat, 23 Apr 2011)
Log Message:
-----------
Small type-tweaks (int being returned as float)
Modified Paths:
--------------
trunk/blender/source/blender/editors/armature/poseSlide.c
Modified: trunk/blender/source/blender/editors/armature/poseSlide.c
===================================================================
--- trunk/blender/source/blender/editors/armature/poseSlide.c 2011-04-23
09:25:34 UTC (rev 36296)
+++ trunk/blender/source/blender/editors/armature/poseSlide.c 2011-04-23
11:09:24 UTC (rev 36297)
@@ -989,11 +989,11 @@
}
/* 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 @@
* 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
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs