Blender Git Commit Log

Git Commits -> Revision 748e95a

Revision 748e95a by Julian Eisel (master)
January 10, 2018, 21:45 (GMT)
Fix crash when deleting collections

With factory settings, steps to reproduce were:
* Select "Collection 1" (in "RenderLayer")
* Delete
It might crash at this point, although maybe this crash is ASAN only.

However, this was also doing some weird things that I've corrected now. It
called outliner_build_tree in an operator callback. This should only be
called in the main redraw function or so, not in regular handlers.
Instead, we manually cleanup the tree to keep it valid.

Commit Details:

Full Hash: 748e95ad50f260dd67aa83927dd90b389a1f3c59
Parent Commit: 181124a
Lines Changed: +51, -22

3 Modified Paths:

/source/blender/editors/space_outliner/outliner_collections.c (+25, -7) (Diff)
/source/blender/editors/space_outliner/outliner_intern.h (+2, -1) (Diff)
/source/blender/editors/space_outliner/outliner_tree.c (+24, -14) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021