diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-01-14 20:22:30 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-01-14 20:22:30 +0300 |
commit | 8eb035f64f6478418705fdbe2a6c0a28969febdb (patch) | |
tree | b114a2d1cbce479933ed64de9aeb64ff4e1ac3f4 /source/blender/blenkernel | |
parent | fd37c07e280afcc673bc0aab13b06385e3b11dcc (diff) |
Fixed warnings in sculpt, also brought back brush curve.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/brush.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c index c1db7a009e6..cd5eb2eb3d3 100644 --- a/source/blender/blenkernel/intern/brush.c +++ b/source/blender/blenkernel/intern/brush.c @@ -72,6 +72,8 @@ Brush *add_brush(char *name) brush->clone.alpha= 0.5; brush->sculpt_tool = SCULPT_TOOL_DRAW; + brush_curve_preset(brush, BRUSH_PRESET_SHARP); + /* enable fake user by default */ brush->id.flag |= LIB_FAKEUSER; brush_toggled_fake_user(brush); @@ -222,8 +224,7 @@ void brush_toggled_fake_user(Brush *brush) } } - -void sculpt_preset_curve(Brush *b, BrushCurvePreset preset) +void brush_curve_preset(Brush *b, BrushCurvePreset preset) { CurveMap *cm = NULL; |