diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-06-01 07:57:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-06-01 07:57:27 +0300 |
commit | e0216ea89b3e6a3bf1f609db3343b247badfc77c (patch) | |
tree | 07c1aa94d166d0a8fafce289cb15b4d387d15dc2 /source/gameengine | |
parent | 42e336728d8520c6abc0013a2880bcbda657e8e0 (diff) |
Clear pose draw data in BGE pose copy
Diffstat (limited to 'source/gameengine')
-rw-r--r-- | source/gameengine/Converter/BL_ArmatureObject.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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); |