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

Log Message:
-----------
* enable unified paint/sculpt size by default.
Note: I think this will enable paint/sculpt in all files, even when user has 
turned it off, unless subversionfile is bumped to 6 and the comparison is 
changed to subversionfile < 6.  

I'll leave that to somebody else who knows better when to change the 
subversionfile.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/interface/resources.c

Modified: trunk/blender/source/blender/editors/interface/resources.c
===================================================================
--- trunk/blender/source/blender/editors/interface/resources.c  2010-07-20 
21:41:42 UTC (rev 30556)
+++ trunk/blender/source/blender/editors/interface/resources.c  2010-07-20 
21:55:08 UTC (rev 30557)
@@ -1531,4 +1531,7 @@
 
        if (U.sculpt_paint_unified_size == 0)
                U.sculpt_paint_unified_size = 35;
+
+       if (G.main->versionfile < 252 || (G.main->versionfile == 252 && 
G.main->subversionfile < 5))
+               U.sculpt_paint_settings |= SCULPT_PAINT_USE_UNIFIED_SIZE;
 }


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

Reply via email to