Revision: 30132
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30132
Author:   jwilkins
Date:     2010-07-08 20:36:02 +0200 (Thu, 08 Jul 2010)

Log Message:
-----------
* bug fix: was accidentally applying falloff curve to tiled mapping mode

Modified Paths:
--------------
    
branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/paint_stroke.c

Modified: 
branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/paint_stroke.c
===================================================================
--- 
branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/paint_stroke.c   
    2010-07-08 18:02:23 UTC (rev 30131)
+++ 
branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/paint_stroke.c   
    2010-07-08 18:36:02 UTC (rev 30132)
@@ -355,7 +355,8 @@
 
                                        avg += br->texture_sample_bias;
 
-                                       avg *= brush_curve_strength(br, len, 
1); /* Falloff curve */
+                                       if (br->mtex.brush_map_mode == 
MTEX_MAP_MODE_FIXED)
+                                               avg *= brush_curve_strength(br, 
len, 1); /* Falloff curve */
 
                                        buffer[index] = (GLubyte)(255*avg);
                                }


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

Reply via email to