[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [41134] trunk/blender/source/gameengine/ Ketsji/BL_Action.cpp: Fix for bug #28979 "Action actuator breaks animation" reported by Goran Milovanovic.

Mitchell Stokes mogurijin at gmail.com
Thu Oct 20 09:20:18 CEST 2011


Revision: 41134
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41134
Author:   moguri
Date:     2011-10-20 07:20:17 +0000 (Thu, 20 Oct 2011)
Log Message:
-----------
Fix for bug #28979 "Action actuator breaks animation" reported by Goran Milovanovic. Apparently IPO options can be set too frequently...

Modified Paths:
--------------
    trunk/blender/source/gameengine/Ketsji/BL_Action.cpp

Modified: trunk/blender/source/gameengine/Ketsji/BL_Action.cpp
===================================================================
--- trunk/blender/source/gameengine/Ketsji/BL_Action.cpp	2011-10-20 07:12:14 UTC (rev 41133)
+++ trunk/blender/source/gameengine/Ketsji/BL_Action.cpp	2011-10-20 07:20:17 UTC (rev 41134)
@@ -361,9 +361,6 @@
 
 			break;
 		}
-
-		if (!m_done)
-			InitIPO();
 	}
 
 	if (m_obj->GetGameObjectType() == SCA_IObject::OBJ_ARMATURE)
@@ -446,8 +443,6 @@
 			obj->SetActiveAction(NULL, 0, curtime);
 		}
 
-
-		InitIPO();
 		m_obj->UpdateIPO(m_localtime, m_ipo_flags & ACT_IPOFLAG_CHILD);
 	}
 }




More information about the Bf-blender-cvs mailing list