Blender Git Loki

Git Commits -> Revision b8194a5

October 19, 2016, 12:26 (GMT)
Fix T49553: Blender 2.78 crashes when File->Data Previews ->Refresh Datablock Previews

New recursive iteration over IDs in BKE_library_foreach_ID_link() was
broken by the infamous nodetree case. We cannot really recusively call
this function in that case, so better to deffer handling of
non-datablock NodeTrees as if real IDs here.

Also fixed initial ID not being stored as handled, in rare cases this
could also lead to infinite looping.

To be backported to 2.78a.

Commit Details:

Full Hash: b8194a52a0cdfaa43204d0e20ce357da78b19eec
Parent Commit: f87a81a
Committed By: Sergey Sharybin
Lines Changed: +23, -6

1 Modified Path:

/source/blender/blenkernel/intern/library_query.c (+23, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021