Page MenuHome

Fix T101046: missing DEG update changing bone layers in editmode
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Sep 14 2022, 1:17 PM.

Details

Summary

Following T54811: COW Operators: Edit Armature (and rBbb92edd1c802: Depsgraph: Keep edit bones around, fixes missing edit mode with copy on write), DEG updates have been added
to the various operators. This has also been done for the layers
operators (see rBf998bad211ae: Fix: Last of the operators from T54811 now work with Copy on Write, ARMATURE_OT_bone_layers has been
marked done in T54811). However, instead of ARMATURE_OT_bone_layers,
the update tagging actually happened for POSE_OT_bone_layers.

Now do this for ARMATURE_OT_bone_layers as well (keep it for
POSE_OT_bone_layers, dont think this is wrong there either).

Diff Detail

Repository
rB Blender
Branch
T101046 (branched from master)
Build Status
Buildable 23751
Build 23751: arc lint + arc unit

Event Timeline

Philipp Oeser (lichtwerk) requested review of this revision.Sep 14 2022, 1:17 PM
Philipp Oeser (lichtwerk) created this revision.

Generally makes sense, but i'd use ID_RECALC_PARAMETERS which seems to be closer to semantic meaning of what is being changed.

  • use ID_RECALC_PARAMETERS
This revision is now accepted and ready to land.Sep 23 2022, 10:30 AM