Blender Git Commit Log

Git Commits -> Revision d0b3f9c

Revision d0b3f9c by Sebastian Parborg (master)
May 4, 2021, 13:11 (GMT)
Fix T87489: Text Data-Blocks get deleted on Recursive Purge

Text data block were not considered special in the recursive purge
function. So they would get deleted if they had no actual users.

To fix this we instead make text data block use "fake user" so that
addon authors can specify script files that should be removed if nothing
is using it anymore.

Per default, new text object have "fake user" set. So functionality
wise, the user has to explicitly specify that they want the text object
to be purge-able.

Reviewed By: Bastien

Differential Revision: http://developer.blender.org/D10983

Commit Details:

Full Hash: d0b3f9c81b031f19e0ecfdacad359d76dcddaebb
Parent Commit: 4599cea
Lines Changed: +46, -26

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