diff options
Diffstat (limited to 'source/gameengine/Converter/KX_BlenderScalarInterpolator.cpp')
-rw-r--r-- | source/gameengine/Converter/KX_BlenderScalarInterpolator.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/gameengine/Converter/KX_BlenderScalarInterpolator.cpp b/source/gameengine/Converter/KX_BlenderScalarInterpolator.cpp index 343cf023417..37960e5c2f7 100644 --- a/source/gameengine/Converter/KX_BlenderScalarInterpolator.cpp +++ b/source/gameengine/Converter/KX_BlenderScalarInterpolator.cpp @@ -41,12 +41,14 @@ extern "C" { #include "BKE_fcurve.h" } -float BL_ScalarInterpolator::GetValue(float currentTime) const { +float BL_ScalarInterpolator::GetValue(float currentTime) const +{ // XXX 2.4x IPO_GetFloatValue(m_blender_adt, m_channel, currentTime); return evaluate_fcurve(m_fcu, currentTime); } -BL_InterpolatorList::BL_InterpolatorList(bAction *action) { +BL_InterpolatorList::BL_InterpolatorList(bAction *action) +{ if(action==NULL) return; @@ -59,7 +61,8 @@ BL_InterpolatorList::BL_InterpolatorList(bAction *action) { } } -BL_InterpolatorList::~BL_InterpolatorList() { +BL_InterpolatorList::~BL_InterpolatorList() +{ BL_InterpolatorList::iterator i; for (i = begin(); !(i == end()); ++i) { delete *i; |