diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-11-10 16:56:50 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-11-10 16:56:50 +0400 |
commit | 8cf39603f744ff10e3e517414c563d2344fd02cc (patch) | |
tree | 6aef3ed4322e4e95de8a64ba0a7b3355e17a424b /source/blender/editors/armature | |
parent | bfb9cefccbf8ff9733e9739e9c4dbc93a762bebe (diff) |
replace IS_EQ -> IS_EQF for use with floats.
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r-- | source/blender/editors/armature/pose_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/pose_lib.c b/source/blender/editors/armature/pose_lib.c index 4a40eff204a..69ee794e1d9 100644 --- a/source/blender/editors/armature/pose_lib.c +++ b/source/blender/editors/armature/pose_lib.c @@ -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; } |