[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30975] branches/soc-2010-jwilkins/source/ blender/blenkernel/intern/brush.c: * Fix: some changes needed to make a new brush did not make it into previous commits .

Jason Wilkins Jason.A.Wilkins at gmail.com
Mon Aug 2 14:30:41 CEST 2010


Revision: 30975
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30975
Author:   jwilkins
Date:     2010-08-02 14:30:41 +0200 (Mon, 02 Aug 2010)

Log Message:
-----------
* Fix: some changes needed to make a new brush did not make it into previous commits.

Modified Paths:
--------------
    branches/soc-2010-jwilkins/source/blender/blenkernel/intern/brush.c

Modified: branches/soc-2010-jwilkins/source/blender/blenkernel/intern/brush.c
===================================================================
--- branches/soc-2010-jwilkins/source/blender/blenkernel/intern/brush.c	2010-08-02 12:24:35 UTC (rev 30974)
+++ branches/soc-2010-jwilkins/source/blender/blenkernel/intern/brush.c	2010-08-02 12:30:41 UTC (rev 30975)
@@ -73,6 +73,7 @@
 	brush->autosmooth_factor= 0.0f;
 	brush->crease_pinch_factor= 0.5f;
 	brush->sculpt_plane = SCULPT_DISP_DIR_AREA;
+	brush->sculpt_plane_range= 1;
 	brush->plane_offset= 0.0f; /* how far above or below the plane that is found by averaging the faces */
 	brush->plane_trim= 0.5f;
 	brush->clone.alpha= 0.5f;
@@ -85,7 +86,7 @@
 	brush->rgb[2]= 1.0f;
 
 	/* BRUSH STROKE SETTINGS */
-	brush->flag |= (BRUSH_SPACE|BRUSH_SPACE_ATTEN);
+	brush->flag |= (BRUSH_SPACE|BRUSH_SPACE_ATTEN|BRUSH_ADAPTIVE_SPACE);
 	brush->spacing= 10; /* how far each brush dot should be spaced as a percentage of brush diameter */
 
 	brush->smooth_stroke_radius= 75;
@@ -95,6 +96,8 @@
 
 	brush->jitter= 0.0f;
 
+	brush->adaptive_space_factor = 1;
+
 	/* BRUSH TEXTURE SETTINGS */
 	default_mtex(&brush->mtex);
 





More information about the Bf-blender-cvs mailing list