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: https://developer.blender.org/D10983 |
Commit Details:
Full Hash: 756c9b22193a70e1900b19d3ec7258eee97a48a4
Parent Commit: b874c15
Lines Changed: +22, -12
6 Modified Paths:
/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/text.c (+9, -7) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+10, -0) (Diff)
/source/blender/editors/interface/interface_templates.c (+1, -1) (Diff)
/source/blender/editors/space_text/text_ops.c (+0, -2) (Diff)
/source/blender/blenkernel/intern/text.c (+9, -7) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+10, -0) (Diff)
/source/blender/editors/interface/interface_templates.c (+1, -1) (Diff)
/source/blender/editors/space_text/text_ops.c (+0, -2) (Diff)