Revision: 43514
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43514
Author:   nicholasbishop
Date:     2012-01-19 04:00:03 +0000 (Thu, 19 Jan 2012)
Log Message:
-----------
Remove some unused alpha code in paint_cursor.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/sculpt_paint/paint_cursor.c

Modified: trunk/blender/source/blender/editors/sculpt_paint/paint_cursor.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/paint_cursor.c    
2012-01-19 03:13:01 UTC (rev 43513)
+++ trunk/blender/source/blender/editors/sculpt_paint/paint_cursor.c    
2012-01-19 04:00:03 UTC (rev 43514)
@@ -530,8 +530,6 @@
                int pixel_radius, hit;
                const float root_alpha = brush_alpha(scene, brush);
                float visual_strength = root_alpha*root_alpha;
-               const float min_alpha = 0.20f;
-               const float max_alpha = 0.80f;
 
                /* this is probably here so that rake takes into
                   account the brush movements before the stroke
@@ -585,9 +583,6 @@
                if(visual_strength > 1)
                        visual_strength = 1;
 
-               outline_alpha = ((paint->flags & PAINT_SHOW_BRUSH_ON_SURFACE) ?
-                                    min_alpha + 
(visual_strength*(max_alpha-min_alpha)) : 0.50f);
-
                if(sd->draw_anchored) {
                        final_radius = sd->anchored_size;
                        translation[0] = sd->anchored_initial_mouse[0] - 
vc.ar->winrct.xmin;

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

Reply via email to