From ab2a8832dda571237bf775c2276a68e89f7f82eb Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 8 Apr 2015 16:13:00 +1000 Subject: Use IS_EQF for floats --- source/blender/editors/armature/pose_slide.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/armature') diff --git a/source/blender/editors/armature/pose_slide.c b/source/blender/editors/armature/pose_slide.c index a863dae045c..ffb7b3e4a1a 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; } -- cgit v1.2.3