Blender Git Commit Log

Git Commits -> Revision 1e18efa

Revision 1e18efa by Sergey Sharybin (master)
December 14, 2018, 13:53 (GMT)
Fix T59220: Deleting object causes blender 2.8 to crash

The issue was caused by a special code in node tree freeing function
which will free extra fields in the case when tree is not in bmain.
This is how old code was dealing with "nested" trees, but is now
making behavior different from other datablocks. This is exactly
what was confusing copy-on-write logic.

Ideally, ntreeFreeTree() need to behave same as all other datablocks,
ad freeing of data of nested trees should be up to the owner of the
tree (this way it's all explicit and does not depend on check of
some special flag.

Commit Details:

Full Hash: 1e18efa1df1ad999303143156e0742d97d4c86bb
Parent Commit: e541824
Lines Changed: +6, -0

1 Modified Path:

/source/blender/blenkernel/intern/library_remap.c (+6, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021