diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-05-03 17:10:25 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-05-03 17:18:03 +0300 |
commit | 827818d37dd2c9caf16ddc2c2b8d9415d6afc3b9 (patch) | |
tree | 09f3397b8ab7d8826343291e2a58768595c4d7bf /source/blender/blenkernel/intern/action.c | |
parent | 6824ee0595c9dd7d1c18864f2bbb8363d5fe69a5 (diff) |
Rename bPoseChannel's temp/cache pointer for DrawManager to draw_data.
More generic name, this remains a temp solution anyway, until we have
proper handling of temp data from 'magic DEG'! ;)
Diffstat (limited to 'source/blender/blenkernel/intern/action.c')
-rw-r--r-- | source/blender/blenkernel/intern/action.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/action.c b/source/blender/blenkernel/intern/action.c index 44ee9aa7bf1..9889ebc56ef 100644 --- a/source/blender/blenkernel/intern/action.c +++ b/source/blender/blenkernel/intern/action.c @@ -580,7 +580,7 @@ void BKE_pose_copy_data(bPose **dst, bPose *src, const bool copy_constraints) pchan->prop = IDP_CopyProperty(pchan->prop); } - pchan->bbone_matrices = NULL; /* Drawing cache of bbone matrices, no need to copy. */ + pchan->draw_data = NULL; /* Drawing cache of bbone matrices, no need to copy. */ } /* for now, duplicate Bone Groups too when doing this */ @@ -771,7 +771,7 @@ void BKE_pose_channel_free_ex(bPoseChannel *pchan, bool do_id_user) } /* Cached bbone matrices, for new draw manager rendering code. */ - MEM_SAFE_FREE(pchan->bbone_matrices); + MEM_SAFE_FREE(pchan->draw_data); } void BKE_pose_channel_free(bPoseChannel *pchan) |