Page MenuHome

Depsgraph: fix spurious cycles with identically named idprops on bones.
ClosedPublic

Authored by Alexander Gavrilov (angavrilov) on Jan 4 2022, 12:30 PM.

Details

Summary

If multiple bones have a custom property with the same name,
depsgraph didn't distinguish between them, potentially leading
to spurious cycles.

This patch moves ID_PROPERTY operation nodes for bone custom
properties from the parameters component to individual bone
components, thus decoupling them.


Test file with a spurious cycle:

Diff Detail

Repository
rB Blender
Branch
temp-angavrilov-depsgraph-idprops (branched from master)
Build Status
Buildable 19746
Build 19746: arc lint + arc unit

Event Timeline

Alexander Gavrilov (angavrilov) requested review of this revision.Jan 4 2022, 12:30 PM
Alexander Gavrilov (angavrilov) created this revision.

Seems nice and neat!
Did you have chance to test the change on something more of a production rig?

Did you have chance to test the change on something more of a production rig?

Well, a rigify rig doesn't produce any errors in the console at least.

Lets go ahead with it then!
Just be around to keep an eye for possible something we didn't foresee ;)

This revision is now accepted and ready to land.Jan 6 2022, 12:04 PM