BGE: Fix for [#30450] "F-Curve on bone not working" reported by HG1.
authorMitchell Stokes <mogurijin@gmail.com>
Mon, 24 Jun 2013 09:37:37 +0000 (09:37 +0000)
committerMitchell Stokes <mogurijin@gmail.com>
Mon, 24 Jun 2013 09:37:37 +0000 (09:37 +0000)
Run IPOs for all objects and not just non-armature objects.

source/gameengine/Ketsji/BL_Action.cpp

index 07295d238ef63ec56c71370afeaa0b1d070a07df..9d189a6170e8fe1132b8252adb08cb2f15ca34fc 100644 (file)
@@ -479,10 +479,10 @@ void BL_Action::Update(float curtime)
 
                        obj->SetActiveAction(NULL, 0, curtime);
                }
-
-               m_obj->UpdateIPO(m_localtime, m_ipo_flags & ACT_IPOFLAG_CHILD);
        }
 
+       m_obj->UpdateIPO(m_localtime, m_ipo_flags & ACT_IPOFLAG_CHILD);
+
        if (m_done)
                ClearControllerList();
 }