Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2018-05-14 14:54:45 +0300
committerJoshua Leung <aligorith@gmail.com>2018-05-14 16:42:57 +0300
commit2bf4654052eaf8d098e4d1bb5fff0c55a5b32654 (patch)
tree9496e68018458aa02853954069e4d36ad4b63a4f /source/blender/editors/armature/pose_select.c
parentb1d016bc12ea113a0a290eed658e39bea16d350a (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.c2
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;
}
}