From 9c3376a030e3f2dfaab8a63bf45187aed9c33697 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 23 Jul 2010 19:47:25 +0000 Subject: [PATCH] bugfix [#22716] Game engine corrupts rig ID-Properties. --- source/gameengine/Converter/BL_ArmatureObject.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/gameengine/Converter/BL_ArmatureObject.cpp b/source/gameengine/Converter/BL_ArmatureObject.cpp index 217011517eb..7dd2543e89d 100644 --- a/source/gameengine/Converter/BL_ArmatureObject.cpp +++ b/source/gameengine/Converter/BL_ArmatureObject.cpp @@ -114,6 +114,11 @@ void game_copy_pose(bPose **dst, bPose *src, int copy_constraint) 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);