[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24694] trunk/blender/source/blender/ blenkernel/intern/brush.c: Simpler default smooth brush curve preset - less points, easier to tweak
Matt Ebb
matt at mke3.net
Fri Nov 20 05:12:53 CET 2009
Revision: 24694
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24694
Author: broken
Date: 2009-11-20 05:12:52 +0100 (Fri, 20 Nov 2009)
Log Message:
-----------
Simpler default smooth brush curve preset - less points, easier to tweak
Modified Paths:
--------------
trunk/blender/source/blender/blenkernel/intern/brush.c
Modified: trunk/blender/source/blender/blenkernel/intern/brush.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/brush.c 2009-11-20 01:39:27 UTC (rev 24693)
+++ trunk/blender/source/blender/blenkernel/intern/brush.c 2009-11-20 04:12:52 UTC (rev 24694)
@@ -252,7 +252,7 @@
if(preset == BRUSH_PRESET_SHARP)
cm->totpoint= 3;
if(preset == BRUSH_PRESET_SMOOTH)
- cm->totpoint= 6;
+ cm->totpoint= 4;
if(preset == BRUSH_PRESET_MAX)
cm->totpoint= 2;
@@ -271,16 +271,12 @@
else if(preset == BRUSH_PRESET_SMOOTH) {
cm->curve[0].x= 0;
cm->curve[0].y= 1;
- cm->curve[1].x= 0.1;
- cm->curve[1].y= 0.97553;
- cm->curve[2].x= 0.3;
- cm->curve[2].y= 0.79389;
- cm->curve[3].x= 0.9;
- cm->curve[3].y= 0.02447;
- cm->curve[4].x= 0.7;
- cm->curve[4].y= 0.20611;
- cm->curve[5].x= 1;
- cm->curve[5].y= 0;
+ cm->curve[1].x= 0.25;
+ cm->curve[1].y= 0.92;
+ cm->curve[2].x= 0.75;
+ cm->curve[2].y= 0.08;
+ cm->curve[3].x= 1;
+ cm->curve[3].y= 0;
}
else if(preset == BRUSH_PRESET_MAX) {
cm->curve[0].x= 0;
More information about the Bf-blender-cvs
mailing list