Commented out a few more tablet functions.
authorNicholas Bishop <nicholasbishop@gmail.com>
Tue, 6 Jan 2009 22:49:08 +0000 (22:49 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Tue, 6 Jan 2009 22:49:08 +0000 (22:49 +0000)
source/blender/editors/sculpt/sculpt.c

index 5a38bae89c9b1e426808d44293acd682e0e8cf98..57d02d1c5e0e57682d488cfbd8fdec25484dc111 100644 (file)
@@ -338,7 +338,7 @@ char brush_size()
        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 @@ float brush_strength(BrushAction *a)
 #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)