[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [15098] branches/apricot/source/gameengine /Converter/BL_ArmatureObject.cpp: undo temp change to try and solve [#13605 ] GameEngine corrupts Pose data

Campbell Barton ideasman42 at gmail.com
Tue Jun 3 12:05:09 CEST 2008


Revision: 15098
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=15098
Author:   campbellbarton
Date:     2008-06-03 12:05:09 +0200 (Tue, 03 Jun 2008)

Log Message:
-----------
undo temp change to try and solve [#13605] GameEngine corrupts Pose data

Modified Paths:
--------------
    branches/apricot/source/gameengine/Converter/BL_ArmatureObject.cpp

Modified: branches/apricot/source/gameengine/Converter/BL_ArmatureObject.cpp
===================================================================
--- branches/apricot/source/gameengine/Converter/BL_ArmatureObject.cpp	2008-06-03 10:04:42 UTC (rev 15097)
+++ branches/apricot/source/gameengine/Converter/BL_ArmatureObject.cpp	2008-06-03 10:05:09 UTC (rev 15098)
@@ -59,7 +59,7 @@
 	m_activePriority(999)
 {
 	m_armature = get_armature(m_objArma);
-	copy_pose(&m_pose, m_objArma->pose, 1);
+	m_pose = m_objArma->pose;
 }
 
 
@@ -143,10 +143,6 @@
 {
 	/* If the caller supplies a null pose, create a new one. */
 	/* Otherwise, copy the armature's pose channels into the caller-supplied pose */
-	if (*pose && (*pose == m_pose)) {
-		printf("ASSSS\n");
-		return;
-	}
 		
 	if (!*pose) {
 		/*	probably not to good of an idea to





More information about the Bf-blender-cvs mailing list