diff options
author | Campbell Barton <campbell@blender.org> | 2022-01-13 04:34:28 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-01-13 04:34:28 +0300 |
commit | a7c9fb59ca9f2cd21ae65c85453932852f75d5b4 (patch) | |
tree | 4fa39e0e17a4ac88ac16e0e9c27061b9304beeb5 /source/blender/editors/animation | |
parent | 227f0f3582f66e93d05b79c51a527838aa228af8 (diff) |
Cleanup: follow code-style for float suffix
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r-- | source/blender/editors/animation/keyframes_keylist_test.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/animation/keyframes_keylist_test.cc b/source/blender/editors/animation/keyframes_keylist_test.cc index 17a21be5ae8..914693842ca 100644 --- a/source/blender/editors/animation/keyframes_keylist_test.cc +++ b/source/blender/editors/animation/keyframes_keylist_test.cc @@ -26,12 +26,12 @@ static void build_fcurve(FCurve &fcurve) fcurve.totvert = 3; fcurve.bezt = static_cast<BezTriple *>( MEM_callocN(sizeof(BezTriple) * fcurve.totvert, "BezTriples")); - fcurve.bezt[0].vec[1][0] = 10.f; - fcurve.bezt[0].vec[1][1] = 1.f; - fcurve.bezt[1].vec[1][0] = 20.f; - fcurve.bezt[1].vec[1][1] = 2.f; - fcurve.bezt[2].vec[1][0] = 30.f; - fcurve.bezt[2].vec[1][1] = 1.f; + fcurve.bezt[0].vec[1][0] = 10.0f; + fcurve.bezt[0].vec[1][1] = 1.0f; + fcurve.bezt[1].vec[1][0] = 20.0f; + fcurve.bezt[1].vec[1][1] = 2.0f; + fcurve.bezt[2].vec[1][0] = 30.0f; + fcurve.bezt[2].vec[1][1] = 1.0f; } static AnimKeylist *create_test_keylist() |