[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29963] branches/soc-2010-jwilkins/source/ blender/editors/sculpt_paint/paint_stroke.c: * reduced maximum thickness of the on-surface brush to 12% from 16%

Jason Wilkins Jason.A.Wilkins at gmail.com
Mon Jul 5 05:55:50 CEST 2010


Revision: 29963
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29963
Author:   jwilkins
Date:     2010-07-05 05:55:48 +0200 (Mon, 05 Jul 2010)

Log Message:
-----------
* reduced maximum thickness of the on-surface brush to 12% from 16%

Modified Paths:
--------------
    branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/paint_stroke.c

Modified: branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/paint_stroke.c
===================================================================
--- branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/paint_stroke.c	2010-07-05 03:55:28 UTC (rev 29962)
+++ branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/paint_stroke.c	2010-07-05 03:55:48 UTC (rev 29963)
@@ -576,7 +576,7 @@
 			alpha = (paint->flags & PAINT_SHOW_BRUSH_ON_SURFACE) ? min_alpha + (visual_strength*(max_alpha-min_alpha)) : 0.50f;
 
 			if (paint->flags & PAINT_SHOW_BRUSH_ON_SURFACE) {
-				const float max_thickness= 0.16;
+				const float max_thickness= 0.12;
 				const float min_thickness= 0.06;
 				const float thickness=     1.0 - min_thickness - visual_strength*max_thickness;
 				const float inner_radius=  brush->draw_anchored ? unprojected_radius                  : unprojected_radius*thickness;





More information about the Bf-blender-cvs mailing list