Blender Git Loki
Git Commits -> Revision 3df335d
September 14, 2021, 02:24 (GMT) |
Sculpt dyntopo: * Fixed noise on using autosmooth with tools that use original coorinates. While this was most prominent with DynTopo, it did happen with other tools. * The solution is to smooth the original coordinates as well as the explicit coordinates if the active tool requires original data. * I decided to replace the original coordinates system for PBVH_FACES and PBVH_GRIDS with the same MDynTopoVert structure DynTopo uses. The alternative would have been extremely messy code. * Todo: Rename MDynTopoVert to. . .SculptInfoVert? * Todo: Cache boundary flag and corner info in MDynTopoVert->flag for PBVH_FACES/GRIDS similar to PBVH_BMESH. |
Commit Details:
Full Hash: 3df335d330a694269a9ceefb7234a00c69ca4be9
Parent Commit: 0676928
Lines Changed: +372, -153
19 Modified Paths:
/source/blender/blenkernel/BKE_paint.h (+4, -0) (Diff)
/source/blender/blenkernel/BKE_pbvh.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/customdata.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/dyntopo.c (+59, -6) (Diff)
/source/blender/blenkernel/intern/paint.c (+43, -1) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/pbvh_bmesh.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/pbvh_intern.h (+2, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+105, -84) (Diff)
/source/blender/editors/sculpt_paint/sculpt_boundary.c (+8, -8) (Diff)
/source/blender/editors/sculpt_paint/sculpt_dyntopo.c (+5, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt_filter_color.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_filter_mesh.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+22, -5) (Diff)
/source/blender/editors/sculpt_paint/sculpt_paint_color.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_pose.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_smooth.c (+109, -41) (Diff)
/source/blender/editors/sculpt_paint/sculpt_transform.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+1, -1) (Diff)
/source/blender/blenkernel/BKE_pbvh.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/customdata.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/dyntopo.c (+59, -6) (Diff)
/source/blender/blenkernel/intern/paint.c (+43, -1) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/pbvh_bmesh.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/pbvh_intern.h (+2, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+105, -84) (Diff)
/source/blender/editors/sculpt_paint/sculpt_boundary.c (+8, -8) (Diff)
/source/blender/editors/sculpt_paint/sculpt_dyntopo.c (+5, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt_filter_color.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_filter_mesh.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+22, -5) (Diff)
/source/blender/editors/sculpt_paint/sculpt_paint_color.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_pose.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_smooth.c (+109, -41) (Diff)
/source/blender/editors/sculpt_paint/sculpt_transform.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+1, -1) (Diff)