[Bf-blender-cvs] [ab2a883] master: Use IS_EQF for floats

Campbell Barton noreply at git.blender.org
Wed Apr 8 08:21:10 CEST 2015


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;
 	}




More information about the Bf-blender-cvs mailing list