Blender Git Commit Log

Git Commits -> Revision 2d32bf1

Revision 2d32bf1 by Philipp Oeser (blender-v2.93-release)
July 26, 2021, 06:30 (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:

Commit Details:

Full Hash: 2d32bf14e47e830dcb38d98f7d29d803fc31a6c9
Parent Commit: 563fdaa
Committed By: Jeroen Bakker
Lines Changed: +1, -1

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021