Blender Git Loki

Git Commits -> Revision f18ab34

Revision f18ab34 by Hans Goudey (master)
October 12, 2021, 20:38 (GMT)
Fix T91809: Crash on undo with empty field inferencing

Some runtime data that stores which sockets can be fields and which
can't is not stored in the file, but only calculated when necessary.
When opening a file, the node tree update function was called, which
recalculated this data, but that was explicily turned off for undo.

This exposes a fundamental issue with undo, the ID caching system for
undo, and how it relates to node trees in particular. Ideally this call
couldn't be necessary at all. In the future it could be removed by
adding a runtime struct to node trees, and calculating its contents
on-demand instead of preemtively.

Differential Revision: https://developer.blender.org/D12699

Commit Details:

Full Hash: f18ab3470f3da32d561781e0794e5983221d5a2d
Parent Commit: 9d03990
Lines Changed: +5, -3

1 Modified Path:

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