[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [39901] trunk/blender/source/gameengine/ Converter: BGE animations: fixing initialization order issues for BL_ActionActuator and BL_ArmatureObject .
Mitchell Stokes
mogurijin at gmail.com
Sun Sep 4 03:42:48 CEST 2011
Revision: 39901
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=39901
Author: moguri
Date: 2011-09-04 01:42:47 +0000 (Sun, 04 Sep 2011)
Log Message:
-----------
BGE animations: fixing initialization order issues for BL_ActionActuator and BL_ArmatureObject. Thanks to z0r for pointing them out and providing a fix.
Modified Paths:
--------------
trunk/blender/source/gameengine/Converter/BL_ActionActuator.cpp
trunk/blender/source/gameengine/Converter/BL_ArmatureObject.cpp
Modified: trunk/blender/source/gameengine/Converter/BL_ActionActuator.cpp
===================================================================
--- trunk/blender/source/gameengine/Converter/BL_ActionActuator.cpp 2011-09-04 01:27:16 UTC (rev 39900)
+++ trunk/blender/source/gameengine/Converter/BL_ActionActuator.cpp 2011-09-04 01:42:47 UTC (rev 39901)
@@ -88,10 +88,10 @@
m_blendin(blendin),
m_blendstart(0),
m_stridelength(stride),
+ m_layer_weight(layer_weight),
m_playtype(playtype),
m_priority(priority),
m_layer(layer),
- m_layer_weight(layer_weight),
m_ipo_flags(ipo_flags),
m_pose(NULL),
m_blendpose(NULL),
Modified: trunk/blender/source/gameengine/Converter/BL_ArmatureObject.cpp
===================================================================
--- trunk/blender/source/gameengine/Converter/BL_ArmatureObject.cpp 2011-09-04 01:27:16 UTC (rev 39900)
+++ trunk/blender/source/gameengine/Converter/BL_ArmatureObject.cpp 2011-09-04 01:42:47 UTC (rev 39901)
@@ -231,10 +231,10 @@
m_timestep(0.040),
m_activeAct(NULL),
m_activePriority(999),
+ m_vert_deform_type(vert_deform_type),
m_constraintNumber(0),
m_channelNumber(0),
- m_lastapplyframe(0.0),
- m_vert_deform_type(vert_deform_type)
+ m_lastapplyframe(0.0)
{
m_armature = (bArmature *)armature->data;
More information about the Bf-blender-cvs
mailing list