[Bf-blender-cvs] [2bf4654052e] blender2.8: Fix: POSE_OT_select_constraint_target now works with copy on write

Joshua Leung noreply at git.blender.org
Mon May 14 15:43:05 CEST 2018


Commit: 2bf4654052eaf8d098e4d1bb5fff0c55a5b32654
Author: Joshua Leung
Date:   Mon May 14 13:54:45 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB2bf4654052eaf8d098e4d1bb5fff0c55a5b32654

Fix: POSE_OT_select_constraint_target now works with copy on write

===================================================================

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 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;
 								}
 							}



More information about the Bf-blender-cvs mailing list