[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [39900] trunk/blender/source/gameengine/ Converter/KX_IpoConvert.cpp: BGE animations: Fixing a potential crash when using camera IPOs.
Mitchell Stokes
mogurijin at gmail.com
Sun Sep 4 03:27:18 CEST 2011
Revision: 39900
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=39900
Author: moguri
Date: 2011-09-04 01:27:16 +0000 (Sun, 04 Sep 2011)
Log Message:
-----------
BGE animations: Fixing a potential crash when using camera IPOs. The IPOs were being created off of blendercamera->adt->action when they should have been using the supplied action. Thanks to z0r for pointing out the problem and a potential fix.
Modified Paths:
--------------
trunk/blender/source/gameengine/Converter/KX_IpoConvert.cpp
Modified: trunk/blender/source/gameengine/Converter/KX_IpoConvert.cpp
===================================================================
--- trunk/blender/source/gameengine/Converter/KX_IpoConvert.cpp 2011-09-04 01:13:44 UTC (rev 39899)
+++ trunk/blender/source/gameengine/Converter/KX_IpoConvert.cpp 2011-09-04 01:27:16 UTC (rev 39900)
@@ -257,7 +257,7 @@
ipocontr->m_clipstart = blendercamera->clipsta;
ipocontr->m_clipend = blendercamera->clipend;
- BL_InterpolatorList *adtList= GetAdtList(blendercamera->adt->action, converter);
+ BL_InterpolatorList *adtList= GetAdtList(action, converter);
// For each active channel in the adtList add an
// interpolator to the game object.
More information about the Bf-blender-cvs
mailing list