Blender Git Commit Log

Git Commits -> Revision 924b13b

March 21, 2021, 23:26 (GMT)
* Added a new CustomData type for dyntopo vertex data: MDynTopoVert.
It stores:
- Original coordiates, colors and mask (which were previously four
seperate layers).
- A bitmask with (currently) one bitflag, whether or not a vertex is
on a boundary.

I needed to cache calculating vertex boundary state (which involves
iterating over the edges surrounding a vertex) and got fed up with
having so many CD layers for dyntopo. This struct consolidates them
and saves having yet another layer just to store a flag.

Commit Details:

Full Hash: 924b13b03a78315aa380dce358e4c042cc24a8b4
Parent Commit: 75a1116
Lines Changed: +505, -237

16 Modified Paths:

/source/blender/blenkernel/BKE_paint.h (+2, -1) (Diff)
/source/blender/blenkernel/BKE_pbvh.h (+195, -77) (Diff)
/source/blender/blenkernel/intern/customdata.c (+72, -3) (Diff)
/source/blender/blenkernel/intern/paint.c (+3, -6) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+12, -10) (Diff)
/source/blender/blenkernel/intern/pbvh_bmesh.c (+67, -59) (Diff)
/source/blender/blenkernel/intern/pbvh_intern.h (+2, -3) (Diff)
/source/blender/bmesh/intern/bmesh_log.c (+8, -8) (Diff)
/source/blender/bmesh/intern/bmesh_log.h (+4, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_image_proj.c (+17, -4) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+71, -35) (Diff)
/source/blender/editors/sculpt_paint/sculpt_dyntopo.c (+28, -24) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+2, -2) (Diff)
/source/blender/makesdna/DNA_brush_enums.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_customdata_types.h (+6, -3) (Diff)
/source/blender/makesdna/DNA_meshdata_types.h (+15, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021