Fix: Tag armature for copy on write when selecting bones, so active bone gets updated
see 8a2d2f1bb4
for similar
Reviewers: aligorith, sergey
Reviewed By: aligorith
Maniphest Tasks: T54812
Differential Revision: https://developer.blender.org/D3204
This commit is contained in:
parent
d9998f24ab
commit
193af4ddc8
|
@ -480,6 +480,9 @@ static int pose_select_parent_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 update (since act_bone is in armature not object) */
|
||||
DEG_id_tag_update(&arm->id, DEG_TAG_COPY_ON_WRITE);
|
||||
|
||||
return OPERATOR_FINISHED;
|
||||
}
|
||||
|
@ -643,7 +646,10 @@ static int pose_select_hierarchy_exec(bContext *C, wmOperator *op)
|
|||
/* mask modifier ('armature' mode), etc. */
|
||||
DEG_id_tag_update(&ob->id, OB_RECALC_DATA);
|
||||
}
|
||||
|
||||
|
||||
/* tag armature for copy-on-write update (since act_bone is in armature not object) */
|
||||
DEG_id_tag_update(&arm->id, DEG_TAG_COPY_ON_WRITE);
|
||||
|
||||
return OPERATOR_FINISHED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue