diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-10-31 02:13:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-10-31 02:13:28 +0400 |
commit | bced18155ffc525dc513d097245fe3954acbb900 (patch) | |
tree | 0fe383cdc8cae39ceee343a51b669b2b30b6a9c3 /source/blender/editors/animation | |
parent | 1a746911d653c7abe6960df4ff5491ebd92e756a (diff) |
fix for uninitialized value use in newly added fcurve normalized view.
also quiet warning without openmp.
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r-- | source/blender/editors/animation/anim_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/animation/anim_draw.c b/source/blender/editors/animation/anim_draw.c index dcf9c8e623b..25fcd76b513 100644 --- a/source/blender/editors/animation/anim_draw.c +++ b/source/blender/editors/animation/anim_draw.c @@ -377,7 +377,7 @@ short ANIM_get_normalization_flags(bAnimContext *ac) static float normalzation_factor_get(FCurve *fcu, short flag) { - float factor; + float factor = 1.0f; if (flag & ANIM_UNITCONV_RESTORE) { return 1.0f / fcu->prev_norm_factor; |