Blender Git Commit Log

Git Commits -> Revision aa116ba

March 30, 2021, 07:08 (GMT)
Added per-brush DynTopo settings which are stored in a new DynTopoSettings struct.

This system is designed to inherit settings from scene dyntopo defaults
in a highly flexible way; settings can be individually overridden via the
.inherit bitmask.

At stroke time the scene settings and brush->dyntopo are merged
and stored in brush->cached_dyntopo.

Note that brush->flag has a bit flag, DYNTOPO_DISABLED, with a few
subtlies. It does not switch the PBVH back to PBVH_FACES mode, it
simply disbles dyntopo topology update. It also doesn't inherit from
any default settings. And it's the only setting
that's currently exposed in the UI.

Commit Details:

Full Hash: aa116ba5bac6a8138f1f14c582fe8246ffd356e9
Parent Commit: 7be0270
Lines Changed: +257, -15

14 Modified Paths:

/release/scripts/startup/bl_ui/properties_paint_common.py (+2, -1) (Diff)
/source/blender/blenkernel/BKE_brush.h (+4, -0) (Diff)
/source/blender/blenkernel/BKE_pbvh.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/brush.c (+93, -0) (Diff)
/source/blender/blenkernel/intern/paint.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/pbvh_bmesh.c (+3, -3) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+20, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+18, -8) (Diff)
/source/blender/editors/sculpt_paint/sculpt_detail.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_brush_defaults.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_brush_enums.h (+25, -1) (Diff)
/source/blender/makesdna/DNA_brush_types.h (+10, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+74, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021