[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30672] trunk/blender/source/gameengine/ Converter/BL_ArmatureObject.cpp: bugfix [#22716] Game engine corrupts rig ID-Properties.

Campbell Barton ideasman42 at gmail.com
Fri Jul 23 21:47:25 CEST 2010


Revision: 30672
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30672
Author:   campbellbarton
Date:     2010-07-23 21:47:25 +0200 (Fri, 23 Jul 2010)

Log Message:
-----------
bugfix [#22716] Game engine corrupts rig ID-Properties.

Modified Paths:
--------------
    trunk/blender/source/gameengine/Converter/BL_ArmatureObject.cpp

Modified: trunk/blender/source/gameengine/Converter/BL_ArmatureObject.cpp
===================================================================
--- trunk/blender/source/gameengine/Converter/BL_ArmatureObject.cpp	2010-07-23 19:43:13 UTC (rev 30671)
+++ trunk/blender/source/gameengine/Converter/BL_ArmatureObject.cpp	2010-07-23 19:47:25 UTC (rev 30672)
@@ -114,6 +114,11 @@
 			pchan->constraints.first = NULL;
 			pchan->constraints.last = NULL;
 		}
+
+		// fails to link, props are not used in the BGE yet.
+		/* if(pchan->prop)
+			pchan->prop= IDP_CopyProperty(pchan->prop); */
+		pchan->prop= NULL;
 	}
 
 	BLI_ghash_free(ghash, NULL, NULL);





More information about the Bf-blender-cvs mailing list