46ade1c2dfe019fefd0f6e6c2d324a5f0a637c6c
It seems like the cause for the crash was that the maps in `AnonymousAttributeInferencingResult` use node indices as keys. However, the order of nodes changes when changing node selection. Generally, we don't want to trigger a more expensive update just because we changed the selection, therefore things got out of sync when building the lazy-function graph. The solution here is not a full fix. Other things that cause a depsgraph update but don't cause a tree-update could still cause the same kind of crash. A better solution would be to address the root cause which is that trivial operations like selection changes node order which is used in many places. Also see `BKE_ntree_update_tag_node_reordered`. Disabling depsgraph updates when changing the active simulation or repeat item is correct as well though, and it solves this specific crash.
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
