diff options
author | Joshua Leung <aligorith@gmail.com> | 2018-05-14 14:54:45 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2018-05-14 16:42:57 +0300 |
commit | 2bf4654052eaf8d098e4d1bb5fff0c55a5b32654 (patch) | |
tree | 9496e68018458aa02853954069e4d36ad4b63a4f /source/blender/editors/armature/pose_select.c | |
parent | b1d016bc12ea113a0a290eed658e39bea16d350a (diff) |
Fix: POSE_OT_select_constraint_target now works with copy on write
Diffstat (limited to 'source/blender/editors/armature/pose_select.c')
-rw-r--r-- | source/blender/editors/armature/pose_select.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/armature/pose_select.c b/source/blender/editors/armature/pose_select.c index 55fceba4368..d4b89cd6a00 100644 --- a/source/blender/editors/armature/pose_select.c +++ b/source/blender/editors/armature/pose_select.c @@ -546,6 +546,8 @@ static int pose_select_constraint_target_exec(bContext *C, wmOperator *UNUSED(op /* mask modifier ('armature' mode), etc. */ DEG_id_tag_update(&ob->id, OB_RECALC_DATA); } + /* tag armature for copy on write, since selection status is armature data */ + DEG_id_tag_update(&arm->id, DEG_TAG_COPY_ON_WRITE); ob_prev = ob; } } |