Revision: 30240
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30240
Author:   jwilkins
Date:     2010-07-12 22:09:20 +0200 (Mon, 12 Jul 2010)

Log Message:
-----------
* fixed warning about ambiguous else

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

Modified: 
branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/sculpt.c
===================================================================
--- branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/sculpt.c     
2010-07-12 20:07:55 UTC (rev 30239)
+++ branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/sculpt.c     
2010-07-12 20:09:20 UTC (rev 30240)
@@ -2514,13 +2514,14 @@
                        break;
                }
 
-               if (brush->sculpt_tool != SCULPT_TOOL_SMOOTH && 
brush->autosmooth_factor > 0)
+               if (brush->sculpt_tool != SCULPT_TOOL_SMOOTH && 
brush->autosmooth_factor > 0) {
                        if (brush->flag & BRUSH_INVERSE_SMOOTH_PRESSURE) {
                                smooth(sd, ss, nodes, totnode, 
brush->autosmooth_factor*(1-ss->cache->pressure)*brush->autosmooth_overlap);
                        }
                        else {
                                smooth(sd, ss, nodes, totnode, 
brush->autosmooth_factor*brush->autosmooth_overlap);
                        }
+               }
 
                /* copy the modified vertices from mesh to the active key */
                if(ss->kb)


_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to