Commit: ab2a8832dda571237bf775c2276a68e89f7f82eb
Author: Campbell Barton
Date: Wed Apr 8 16:13:00 2015 +1000
Branches: master
https://developer.blender.org/rBab2a8832dda571237bf775c2276a68e89f7f82eb
Use IS_EQF for floats
===================================================================
M source/blender/editors/armature/pose_slide.c
===================================================================
diff --git a/source/blender/editors/armature/pose_slide.c
b/source/blender/editors/armature/pose_slide.c
index a863dae..ffb7b3e 100644
--- a/source/blender/editors/armature/pose_slide.c
+++ b/source/blender/editors/armature/pose_slide.c
@@ -202,7 +202,7 @@ static void pose_slide_apply_val(tPoseSlideOp *pso, FCurve
*fcu, float *val)
eVal = evaluate_fcurve(fcu, (float)pso->nextFrame);
/* if both values are equal, don't do anything */
- if (IS_EQ(sVal, eVal)) {
+ if (IS_EQF(sVal, eVal)) {
(*val) = sVal;
return;
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs