diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-07-03 12:04:12 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-07-03 12:06:29 +0300 |
commit | a94d582a40ffc06b19f0e4af6ba107c1433fcb1e (patch) | |
tree | 4a443afc0337e89125c7bfd37b3d9da168e2fd67 /source/blender/editors/interface | |
parent | a9211e808c10fa267dbca2baa705560a5d980526 (diff) |
Sculpt: Fix possible race condition with undo nodes
it is possible that two threads will request same undo node, only one
of them will initialize the node. The issue is that initialization is
happening outside of a lock, which was making one thread to use non-
initialized node.
If this change is ever a bottleneck, make a lock inside of node.
Diffstat (limited to 'source/blender/editors/interface')
0 files changed, 0 insertions, 0 deletions