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)


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to