From a5da26f59d8cd820ca4d27a06028dd6aaee65784 Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Tue, 18 Aug 2009 01:19:00 +0000 Subject: 2.5/Sculpt: * Added UI for brush stroke. Contains for now spacing and smooth stroke * Removed Sculpt UI for airbrush -- doesn't do anything in sculpt mode * Improved smooth stroke by using float instead of int precision, so smooth stroke is even smoother now --- source/blender/blenkernel/intern/brush.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/blenkernel') diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c index 612f6d2051d..a7b5a16d924 100644 --- a/source/blender/blenkernel/intern/brush.c +++ b/source/blender/blenkernel/intern/brush.c @@ -75,6 +75,8 @@ Brush *add_brush(const char *name) brush->alpha= 0.2f; brush->size= 25; brush->spacing= 10.0f; + brush->smooth_stroke_radius= 75; + brush->smooth_stroke_factor= 0.9; brush->rate= 0.1f; brush->innerradius= 0.5f; brush->clone.alpha= 0.5; -- cgit v1.2.3