Sculpt: WIP brush behavior changes
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 6 Nov 2009 16:46:35 +0000 (16:46 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 6 Nov 2009 16:46:35 +0000 (16:46 +0000)
commit132783328209f24873629113665f01b35364fdd0
tree4632fc09d8fc119a22e4f9907e3c49e8f5fcf7e5
parent9c1c0152df19d982b14ea9a58c1c19c0f378680b
Sculpt: WIP brush behavior changes

* Draw/Inflate/Layer now keep working on the original mesh coordinates and
  normals from when the stroke started. This helps avoid the mesh blowing
  up, but can still be better. The old behavior is still available as
  "Accumulate" in the UI.
* This requires some more memory usage for the BVH, would like to find a
  way to avoid that.
* Smooth falloff is now the default.
* Spacing is now enabled by default, with a value of 7.5.
* Anchored now stores normals per node to save some memory.
release/scripts/ui/space_view3d_toolbar.py
source/blender/blenkernel/intern/brush.c
source/blender/blenkernel/intern/cdderivedmesh.c
source/blender/blenlib/BLI_pbvh.h
source/blender/blenlib/intern/pbvh.c
source/blender/editors/sculpt_paint/paint_undo.c
source/blender/editors/sculpt_paint/sculpt.c
source/blender/makesdna/DNA_brush_types.h
source/blender/makesrna/intern/rna_brush.c