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-07 20:03:29 +0300
committerJoshua Leung <aligorith@gmail.com>2018-05-07 20:03:36 +0300
commit3299b0f0dcaa53281bd3bdda5e4b77955956b317 (patch)
treeeecab6941faf60e43e0c922e27cb25bea5e63256 /source/blender/editors/armature/pose_select.c
parentda89fac3486c38cf5b8a7acff065f16c4faa7a32 (diff)
Fix: Select all didnt' work with COW pose bones
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 9207a55b380..489fe76f47d 100644
--- a/source/blender/editors/armature/pose_select.c
+++ b/source/blender/editors/armature/pose_select.c
@@ -422,6 +422,8 @@ static int pose_de_select_all_exec(bContext *C, wmOperator *op)
if (multipaint || (arm->flag & ARM_HAS_VIZ_DEPS)) {
DEG_id_tag_update(&ob->id, OB_RECALC_DATA);
}
+ /* need to tag armature for cow updates, or else selection doesn't update */
+ DEG_id_tag_update(&arm->id, DEG_TAG_COPY_ON_WRITE);
ob_prev = ob;
}
}