Use IS_EQF for floats

This commit is contained in:
2015-04-08 16:13:00 +10:00
parent 60ecc6b3b3
commit ab2a8832dd

View File

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