From ff839fb6c1c4b45786f9bbcb302d0af4d03c004a Mon Sep 17 00:00:00 2001 From: Gaia Clary Date: Wed, 18 Apr 2018 18:21:27 +0200 Subject: Fix: D3160 Propose to use proper typedefs to avoid confusion Differential Revision: https://developer.blender.org/D3160 --- source/blender/collada/AnimationImporter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/collada') diff --git a/source/blender/collada/AnimationImporter.cpp b/source/blender/collada/AnimationImporter.cpp index 226f8309ffb..75017ce32b4 100644 --- a/source/blender/collada/AnimationImporter.cpp +++ b/source/blender/collada/AnimationImporter.cpp @@ -81,7 +81,7 @@ void AnimationImporter::add_bezt(FCurve *fcu, float frame, float value, eBezTrip bez.ipo = ipo; /* use default interpolation mode here... */ bez.f1 = bez.f2 = bez.f3 = SELECT; bez.h1 = bez.h2 = HD_AUTO; - insert_bezt_fcurve(fcu, &bez, 0); + insert_bezt_fcurve(fcu, &bez, INSERTKEY_NOFLAGS); calchandles_fcurve(fcu); } @@ -148,7 +148,7 @@ void AnimationImporter::animation_to_fcurves(COLLADAFW::AnimationCurve *curve) // bez.ipo = U.ipo_new; /* use default interpolation mode here... */ bez.f1 = bez.f2 = bez.f3 = SELECT; - insert_bezt_fcurve(fcu, &bez, 0); + insert_bezt_fcurve(fcu, &bez, INSERTKEY_NOFLAGS); } calchandles_fcurve(fcu); -- cgit v1.2.3