Blender Git Loki

Git Commits -> Revision c4f9bfc

Revision c4f9bfc by Philipp Oeser (master)
July 12, 2021, 08:48 (GMT)
Fix T89765: boolean modifier collection refcount issue

The 'collection' property is flagged PROP_ID_REFCOUNT, so the
modifiers foreachIDLink functions should walk with IDWALK_CB_USER
(instead of IDWALK_CB_NOP).

Otherwise the modifier wont be included as a user for the collection
(e.g. on file read); removing the collection from the modifier will
decrement usercount though (which in worst case scenario makes the
collection orphan and will result in data loss)

Maniphest Tasks: T89765

Differential Revision: https://developer.blender.org/D11877

Commit Details:

Full Hash: c4f9bfcf5e7ddfaeacdea6dc9b01868edf74182f
Parent Commit: 2289e26
Lines Changed: +1, -1

1 Modified Path:

/source/blender/modifiers/intern/MOD_boolean.cc (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021