[Bf-blender-cvs] [3299b0f0dca] blender2.8: Fix: Select all didnt' work with COW pose bones
Joshua Leung
noreply at git.blender.org
Mon May 7 19:06:59 CEST 2018
Commit: 3299b0f0dcaa53281bd3bdda5e4b77955956b317
Author: Joshua Leung
Date: Mon May 7 19:03:29 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB3299b0f0dcaa53281bd3bdda5e4b77955956b317
Fix: Select all didnt' work with COW pose bones
===================================================================
M source/blender/editors/armature/pose_select.c
===================================================================
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;
}
}
More information about the Bf-blender-cvs
mailing list