Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-03-27 21:22:04 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-03-27 21:22:04 +0400
commita73c3fe5c992777718431d5e5bb5f8a2c3b7a1bc (patch)
tree51ca1d7a06715f0dde24196157c915b12da334c0 /source/blender/editors/animation/keyframes_draw.c
parent9c8f1e2ef487483bc374feaed9ff709e07638623 (diff)
subsurf, derived mesh and other misc files: floats were being implicitly promoted to doubles, adjust to use floats.
Diffstat (limited to 'source/blender/editors/animation/keyframes_draw.c')
-rw-r--r--source/blender/editors/animation/keyframes_draw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/animation/keyframes_draw.c b/source/blender/editors/animation/keyframes_draw.c
index 662f038fd6e..c4108e0ce33 100644
--- a/source/blender/editors/animation/keyframes_draw.c
+++ b/source/blender/editors/animation/keyframes_draw.c
@@ -360,9 +360,9 @@ static void add_bezt_to_keyblocks_list(DLRBT_Tree *blocks, DLRBT_Tree *beztTree,
* -> secondly, handles which control that section of the curve must be constant
*/
if ((!prev) || (!beztn)) return;
- if (IS_EQ(beztn->vec[1][1], prev->vec[1][1])==0) return;
- if (IS_EQ(beztn->vec[1][1], beztn->vec[0][1])==0) return;
- if (IS_EQ(prev->vec[1][1], prev->vec[2][1])==0) return;
+ if (IS_EQF(beztn->vec[1][1], prev->vec[1][1])==0) return;
+ if (IS_EQF(beztn->vec[1][1], beztn->vec[0][1])==0) return;
+ if (IS_EQF(prev->vec[1][1], prev->vec[2][1])==0) return;
/* if there are no blocks already, just add as root */