diff options
author | Sergey Sharybin <sergey@blender.org> | 2021-01-12 19:12:27 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-01-13 13:32:30 +0300 |
commit | f6c7da575987a85e25571163a25dde659e1d56e0 (patch) | |
tree | 744d89cd47ad1653ec26577c2f1ab37a02b82e1c /release/windows/msix/Assets | |
parent | fa54bf482c1ff4ba519ad4efbcf38c0af561c128 (diff) |
Fix T84397: Creating and removing many objects very quickly causes a crash
The root of the issue was caused by the dependency graph using ID pointer
to map evaluated state from old depsgraph to new one upon relations update.
This was failing when IDs were re-allocated rapidly: was possible that
Object ID's evaluated state assigned to Mesh and vice versa.
Now depsgraph uses Session UUID to identify which IDs to restore evaluated
state to. The session UUID is stored in the IDNode, so that id_orig is not
dereferenced on depsgraph update since the ID might be freed.
The root of the issue is identified by Campbell, original patch was done
by Bastien, thanks! Also thanks to Oliver and Ray and everyone else for
testing!
Diffstat (limited to 'release/windows/msix/Assets')
0 files changed, 0 insertions, 0 deletions