diff options
author | Joshua Leung <aligorith@gmail.com> | 2018-05-07 20:03:29 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2018-05-07 20:03:36 +0300 |
commit | 3299b0f0dcaa53281bd3bdda5e4b77955956b317 (patch) | |
tree | eecab6941faf60e43e0c922e27cb25bea5e63256 /source/blender | |
parent | da89fac3486c38cf5b8a7acff065f16c4faa7a32 (diff) |
Fix: Select all didnt' work with COW pose bones
Diffstat (limited to 'source/blender')
-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 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; } } |