Blender Git Loki

Git Commits -> Revision a90b8eb

Revision a90b8eb by Lukas Toenne (master)
October 14, 2013, 08:03 (GMT)
Fix for crash from double-freeing in nodes:
The way node groups check for localized trees in the ntreeFreeTree_ex function does not work. When the main library is freed on exit it also frees genuine node groups trees (which is correct), but then
node groups referencing these trees will not find them in the library and interpret that as a localized group, attempting to free them a second time ... Nicer solution is to just use a special flag on
localized node trees so we can clearly distinguish them from genuine trees in main.

Commit Details:

Full Hash: a90b8ebe48a767b95b9c867518b9b60f9624a5d2
SVN Revision: 60743
Parent Commit: dfea1dd
Lines Changed: +4, -2

2 Modified Paths:

/source/blender/blenkernel/intern/node.c (+3, -2) (Diff)
/source/blender/makesdna/DNA_node_types.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021