[Bf-blender-cvs] [e0216ea89b3] blender2.8: Clear pose draw data in BGE pose copy

Campbell Barton noreply at git.blender.org
Thu Jun 1 06:58:00 CEST 2017


Commit: e0216ea89b3e6a3bf1f609db3343b247badfc77c
Author: Campbell Barton
Date:   Thu Jun 1 14:57:27 2017 +1000
Branches: blender2.8
https://developer.blender.org/rBe0216ea89b3e6a3bf1f609db3343b247badfc77c

Clear pose draw data in BGE pose copy

===================================================================

M	source/gameengine/Converter/BL_ArmatureObject.cpp

===================================================================

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);




More information about the Bf-blender-cvs mailing list