BGE: allow action blending by bringing back blend_poses() as game_blend_poses, the...
[blender.git] / source / gameengine / Converter / BL_ActionActuator.cpp
index 131d48aed4f3ba8781eb0a2b3b9c19bd2af63e25..c0d28d28bda4323071f4cb0a2d5b98f25410d23c 100644 (file)
@@ -409,7 +409,7 @@ bool BL_ActionActuator::Update(double curtime, bool frame)
                                
                                /* Find percentages */
                                newweight = (m_blendframe/(float)m_blendin);
-                               // XXX blend_poses(m_pose, m_blendpose, 1.0 - newweight, ACTSTRIPMODE_BLEND);
+                               game_blend_poses(m_pose, m_blendpose, 1.0 - newweight);
 
                                /* Increment current blending percentage */
                                m_blendframe = (curtime - m_blendstart)*KX_KetsjiEngine::GetAnimFrameRate();