[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [18387] branches/blender2.5/blender/source /blender/editors/sculpt/sculpt.c: Commented out a few more tablet functions .

Nicholas Bishop nicholasbishop at gmail.com
Tue Jan 6 23:49:08 CET 2009


Revision: 18387
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=18387
Author:   nicholasbishop
Date:     2009-01-06 23:49:08 +0100 (Tue, 06 Jan 2009)

Log Message:
-----------
Commented out a few more tablet functions.

Modified Paths:
--------------
    branches/blender2.5/blender/source/blender/editors/sculpt/sculpt.c

Modified: branches/blender2.5/blender/source/blender/editors/sculpt/sculpt.c
===================================================================
--- branches/blender2.5/blender/source/blender/editors/sculpt/sculpt.c	2009-01-06 22:48:58 UTC (rev 18386)
+++ branches/blender2.5/blender/source/blender/editors/sculpt/sculpt.c	2009-01-06 22:49:08 UTC (rev 18387)
@@ -338,7 +338,7 @@
 	SculptData *sd = NULL; /* XXX */
 	const BrushData *b= sculptmode_brush();
 	float size= b->size;
-	float pressure= get_pressure();
+	float pressure= 0; /* XXX: get_pressure(); */
 	short activedevice= get_activedevice();
 	
 	if(sculpt_data()->brush_type!=GRAB_BRUSH) {
@@ -372,7 +372,7 @@
 #if 0
 	if(ELEM(activedevice, DEV_STYLUS, DEV_ERASER))
 		pressure= sd->sculptdata.tablet_strength==0?1:
-		(1-strength_factor) + get_pressure()*strength_factor;
+			(1-strength_factor) + 1/*XXX: get_pressure()*/ *strength_factor;
 	
 	/* Flip direction for eraser */
 	if(activedevice==DEV_ERASER)





More information about the Bf-blender-cvs mailing list