tornavis/source/blender/blenloader
Lukas Tönne d2f4ebcd6a Fix #112331: Add update tags directly in bNodeTreeInterface API methods
Calling an API function after the node panels patch does not internally
tag the node tree with `NTREE_CHANGED_INTERFACE` any more, because the
node tree is not directly accessible from `bNodeTreeInterface`. Before
node panels the API functions for interfaces could tag the tree directly
for later update consideration, which now requires explicit tagging
calls.

The fix is to add a flag and mutex directly to `bNodeTreeInterface`, so
API methods can tag after updates. This mostly copies runtime data
concepts from `bNodeTree`. The `ensure_interface_cache` method is
equivalent to `ensure_topology_cache` and should be called before
accessing `interface_inputs` and similar cache data.

Pull Request: https://projects.blender.org/blender/blender/pulls/111741
2023-09-14 14:13:07 +02:00
..
intern Fix #112331: Add update tags directly in bNodeTreeInterface API methods 2023-09-14 14:13:07 +02:00
tests License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
BLO_blend_defs.hh Cleanup: Move BLO headers to C++ 2023-08-28 15:01:05 +02:00
BLO_blend_validate.hh Cleanup: Move BLO headers to C++ 2023-08-28 15:01:05 +02:00
BLO_read_write.hh Cleanup: Move BLO headers to C++ 2023-08-28 15:01:05 +02:00
BLO_readfile.h Cleanup: doxygen parameters, blank comment lines 2023-09-08 16:53:30 +10:00
BLO_undofile.hh Cleanup: spelling in comments 2023-09-05 11:04:27 +10:00
BLO_writefile.hh Cleanup: Move BLO headers to C++ 2023-08-28 15:01:05 +02:00
CMakeLists.txt Anim: move bone colors from bone groups to individual bones 2023-08-29 14:31:18 +02:00