Blender Git Loki

Git Commits -> Revision a94d582

Revision a94d582 by Sergey Sharybin (master)
July 3, 2018, 09:06 (GMT)
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.

Commit Details:

Full Hash: a94d582a40ffc06b19f0e4af6ba107c1433fcb1e
Parent Commit: a9211e8
Lines Changed: +6, -3

1 Modified Path:

/source/blender/editors/sculpt_paint/sculpt_undo.c (+6, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021