[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53854] trunk/blender/release/scripts/ startup/bl_ui/space_view3d_toolbar.py: sculpt mode: there was no UI access to the brushes 'use_space' option, yet its used to draw the interface and by sculpting tool as well.

Campbell Barton ideasman42 at gmail.com
Wed Jan 16 20:46:31 CET 2013


Revision: 53854
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53854
Author:   campbellbarton
Date:     2013-01-16 19:46:30 +0000 (Wed, 16 Jan 2013)
Log Message:
-----------
sculpt mode: there was no UI access to the brushes 'use_space' option, yet its used to draw the interface and by sculpting tool as well.

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py

Modified: trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py	2013-01-16 19:38:50 UTC (rev 53853)
+++ trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py	2013-01-16 19:46:30 UTC (rev 53854)
@@ -773,6 +773,11 @@
                 col.separator()
                 col.prop(brush, "rate", text="Rate", slider=True)
 
+            # XXX, not sure where this should go, but sculpt brush uses space.
+            col = layout.column()
+            col.active = brush.sculpt_capabilities.has_spacing
+            col.prop(brush, "use_space")
+
             if brush.use_space:
                 col.separator()
                 row = col.row()




More information about the Bf-blender-cvs mailing list