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-28 06:34:55 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-03-28 06:34:55 +0400
commitac1cb5ee055840ba3481b8ad490e3be2a6a49cf2 (patch)
treea24cd7905f6ab5e90d2926b822f9753598198e8f /source/blender/makesrna/intern/rna_nla.c
parentcf40220e54e32cf52931e461b928f26571fc2f4f (diff)
- quiet new warnings with gcc 4.6
- use BLI math funcs for normal float/short conversion. - correct some un-intentional float/double promotions.
Diffstat (limited to 'source/blender/makesrna/intern/rna_nla.c')
-rw-r--r--source/blender/makesrna/intern/rna_nla.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_nla.c b/source/blender/makesrna/intern/rna_nla.c
index a921bbbafad..719cc6755d6 100644
--- a/source/blender/makesrna/intern/rna_nla.c
+++ b/source/blender/makesrna/intern/rna_nla.c
@@ -163,7 +163,7 @@ static void rna_NlaStrip_end_frame_set(PointerRNA *ptr, float value)
len= data->end - data->start;
actlen= data->actend - data->actstart;
- if (IS_EQ(actlen, 0.0f)) actlen= 1.0f;
+ if (IS_EQF(actlen, 0.0f)) actlen= 1.0f;
/* now, adjust the 'scale' setting to reflect this (so that this change can be valid) */
data->scale= len / ((actlen) * data->repeat);