Blender Git Commit Log

Git Commits -> Revision 756c9b2

Revision 756c9b2 by Sebastian Parborg (master)
May 4, 2021, 12:47 (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: 756c9b22193a70e1900b19d3ec7258eee97a48a4
Parent Commit: b874c15
Lines Changed: +22, -12

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