[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [38524] branches/soc-2011-pepper/source/ gameengine/Ketsji/BL_Action.cpp: BGE Animations: BL_Action:: m_action could be garbage, which can lead to odd problems.
Mitchell Stokes
mogurijin at gmail.com
Wed Jul 20 08:09:41 CEST 2011
Revision: 38524
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=38524
Author: moguri
Date: 2011-07-20 06:09:41 +0000 (Wed, 20 Jul 2011)
Log Message:
-----------
BGE Animations: BL_Action::m_action could be garbage, which can lead to odd problems. So, now I make sure it's set to NULL in the constructor.
Modified Paths:
--------------
branches/soc-2011-pepper/source/gameengine/Ketsji/BL_Action.cpp
Modified: branches/soc-2011-pepper/source/gameengine/Ketsji/BL_Action.cpp
===================================================================
--- branches/soc-2011-pepper/source/gameengine/Ketsji/BL_Action.cpp 2011-07-20 06:05:47 UTC (rev 38523)
+++ branches/soc-2011-pepper/source/gameengine/Ketsji/BL_Action.cpp 2011-07-20 06:09:41 UTC (rev 38524)
@@ -66,6 +66,7 @@
m_blendinpose(NULL),
m_sg_contr(NULL),
m_ptrrna(NULL),
+ m_action(NULL),
m_done(true)
{
if (m_obj->GetGameObjectType() == SCA_IObject::OBJ_ARMATURE)
More information about the Bf-blender-cvs
mailing list