Changes/cleanup for sculptdata and brushes. Summary:
authorNicholas Bishop <nicholasbishop@gmail.com>
Wed, 7 Jan 2009 04:38:30 +0000 (04:38 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Wed, 7 Jan 2009 04:38:30 +0000 (04:38 +0000)
commita811d802dd96a2dc93885a1dab46004084386030
tree42e09725613129f591b0b97f4d06d931bfd89ab6
parent23e3fdb28b1d0c7d7d8992c2835bd492daef528c
Changes/cleanup for sculptdata and brushes. Summary:
* Removed texfade, wasn't a very useful option (same result can be created with the falloff curve)
* Removed CurveMapping from sculptdata, moved instead to Brush
* Removed rake field from sculptdata, moved to Brush.flag
* Moved Anchored flag from sculpt to Brush, same for direction field
* Removed BrushData, replaced usages with the regular Brush type
* Removed hardcoded brushes and brush_type from sculptdata, replaced with a pointer to the current Brush
* Made sculpt tool type settable in Brush
* Changed symmetry and axis lock fields to flags
source/blender/blenkernel/BKE_brush.h
source/blender/blenkernel/intern/brush.c
source/blender/blenkernel/intern/scene.c
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/writefile.c
source/blender/editors/sculpt/sculpt.c
source/blender/editors/sculpt/sculpt_intern.h
source/blender/editors/space_view3d/view3d_header.c
source/blender/makesdna/DNA_brush_types.h
source/blender/makesdna/DNA_scene_types.h