Blender Git Loki
Git Commits -> Revision 628925a
Revision 628925a by Joseph Eagar (sculpt-dev) November 28, 2021, 10:23 (GMT) |
Sculpt-dev: fix thread contention in weighted smooth * Cached face areas are now updated in a double buffered fashion; all threads read from one side of the buffer while the other is written to by the threads that own a given face; the buffers are swapped on each iteration of a tool that uses face areas. * Fixes smooth flickering. |
Commit Details:
Full Hash: 628925a5c679fd371b42a1b3aeba907c0fb01a99
Parent Commit: e21c21b
Lines Changed: +89, -17
7 Modified Paths:
/source/blender/blenkernel/intern/paint.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+34, -8) (Diff)
/source/blender/blenkernel/intern/pbvh_bmesh.c (+28, -1) (Diff)
/source/blender/blenkernel/intern/pbvh_intern.h (+2, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_face_set.c (+9, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt_filter_mesh.c (+4, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt_smooth.c (+9, -4) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+34, -8) (Diff)
/source/blender/blenkernel/intern/pbvh_bmesh.c (+28, -1) (Diff)
/source/blender/blenkernel/intern/pbvh_intern.h (+2, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_face_set.c (+9, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt_filter_mesh.c (+4, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt_smooth.c (+9, -4) (Diff)