replace IS_EQ -> IS_EQF for use with floats.
[blender.git] / source / blender / editors / armature / pose_lib.c
index 4a40eff204aec74df7298959c524a40573e21253..69ee794e1d9ac259bae29a9143e5703219b1633d 100644 (file)
@@ -567,7 +567,7 @@ static int poselib_remove_exec(bContext *C, wmOperator *op)
                if (fcu->bezt) {
                        for (i = 0, bezt = fcu->bezt; i < fcu->totvert; i++, bezt++) {
                                /* check if remove */
-                               if (IS_EQ(bezt->vec[1][0], marker->frame)) {
+                               if (IS_EQF(bezt->vec[1][0], (float)marker->frame)) {
                                        delete_fcurve_key(fcu, i, 1);
                                        break;
                                }