Blender Git Loki
Git Commits -> Revision b67423f
Revision b67423f by Jacques Lucke (master) May 26, 2021, 12:19 (GMT) |
Nodes: fix threading issues with node ui storage Calling BKE_nodetree_attribute_hint_add from multiple threads still was not safe before.. One issue was that context_map embedded its values directly. So when context_map grows, all NodeUIStorage would move as well. I could patch around that by using std::unique_ptr in a few places, but that just becomes too complex for now. Instead I simplified the locking a bit by adding just locking a mutex in NodeTreeUIStorage all the time while an attribute hint is added. Differential Revision: https://developer.blender.org/D11399 |
Commit Details:
Full Hash: b67423f80663990f972f4317d38b8e7662b9e8eb
Parent Commit: afec66c
Lines Changed: +14, -23