diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-08-04 04:22:45 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-08-04 04:22:45 +0400 |
commit | cc28e02a85d137d923045b29e584e9264da74c0d (patch) | |
tree | 26ca631b9bf7c59af814c39c5f072056b4ae7457 /source/blender/editors | |
parent | 7848bf00b8fa2789f80b10f423c255f4aa4b5852 (diff) |
Cleanup: replace int cast with floorf when comparing time
Diffstat (limited to 'source/blender/editors')
-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 27ca3039638..0609fcc29e8 100644 --- a/source/blender/editors/armature/pose_lib.c +++ b/source/blender/editors/armature/pose_lib.c @@ -307,7 +307,7 @@ static int poselib_sanitize_exec(bContext *C, wmOperator *op) /* check if any pose matches this */ /* TODO: don't go looking through the list like this every time... */ for (marker = act->markers.first; marker; marker = marker->next) { - if (IS_EQ(marker->frame, (double)ak->cfra)) { + if (IS_EQ((double)marker->frame, (double)ak->cfra)) { marker->flag = -1; break; } |