From e0216ea89b3e6a3bf1f609db3343b247badfc77c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 1 Jun 2017 14:57:27 +1000 Subject: [PATCH] Clear pose draw data in BGE pose copy --- source/gameengine/Converter/BL_ArmatureObject.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/gameengine/Converter/BL_ArmatureObject.cpp b/source/gameengine/Converter/BL_ArmatureObject.cpp index a5af525e13a..1f6687c2b67 100644 --- a/source/gameengine/Converter/BL_ArmatureObject.cpp +++ b/source/gameengine/Converter/BL_ArmatureObject.cpp @@ -138,7 +138,8 @@ static void game_copy_pose(bPose **dst, bPose *src, int copy_constraint) if (pchan->prop) pchan->prop= IDP_CopyProperty(pchan->prop); #endif - pchan->prop= NULL; + pchan->prop = NULL; + pchan->draw_data = NULL; } BLI_ghash_free(ghash, NULL, NULL);