Page MenuHome

Fix T100255: Make RigidBodyWorld (and effector_weights) collections refcounted.
ClosedPublic

Authored by Bastien Montagne (mont29) on Aug 25 2022, 2:54 PM.

Details

Summary

Those collections were so far mainly just tagged as fake user (even
though a few places in code already incremented usercount on them).

Since we now clear the fakeuser flag when linking/appending data, ensure
that these collections are preserved by making these usages regular ID
refcounting ones.

Diff Detail

Repository
rB Blender

Event Timeline

Bastien Montagne (mont29) requested review of this revision.Aug 25 2022, 2:54 PM
Bastien Montagne (mont29) created this revision.
Brecht Van Lommel (brecht) requested changes to this revision.Aug 25 2022, 3:01 PM

I see an effector_weights in dynamic paint, softbody, fluids and cloth as well. I think those are missing a change to IDWALK_CB_USER.

This revision now requires changes to proceed.Aug 25 2022, 3:01 PM

Add missing EffectorsWeights->group IDWALK_CB_USER tagging.

This revision is now accepted and ready to land.Aug 25 2022, 3:16 PM