Block a user
Fix #107123: Refactor sculpt normal calculation to require vert poly map
Use verts_to_update
or the node unique verts to clear the update tags.
Fix #107123: Refactor sculpt normal calculation to require vert poly map
The list doesn't have to be unique btw, there's no point going through the effort to eliminate duplicates.
Fix #107123: Refactor sculpt normal calculation to require vert poly map
We can't afford to iterate over all the verts of the mesh here. It's better to build a list of verts to update from the PBVH nodes.
9507494675
Merge branch 'main' into temp-pbvh-normals
ca00cb5470
Cleanup: format
d145dfdae0
Fix #107443 movie clip fails to load
3bc6374267
temp-pbvh-normals: Make requested patch changes
0328886f98
Merge branch 'main' into temp-pbvh-normals
2d2f4d9d28
Cleanup: Rename StrokeCache.original to .accum
15d2487e26
Sculpt: Fix #105303: improper setting of SculptCache.original
Sculpt: Fix #107123: New normals impl. for PBVH_FACES
That assumption doesn't really hold, and I don't think using the nodes size as a heuristic really works. You'd have to multiply it by some factor (a percentage of the leaf limit most likely)…
Regression: View/Area Auto-Masking breaks Accumulate Setting
Sculpt: Fix #107123: New normals impl. for PBVH_FACES
Sculpt Mode: Smooth Normals don't properly update while sculpting
To solve this we need to update not just the marked vertices but the first topological ring around them too. The current PBVH_FACES normal calc code cannot handle this since there is no way to get…