[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30582] trunk/blender/release/scripts/ui/ space_view3d_toolbar.py: * closed small gap at top of appearance panel
Jason Wilkins
Jason.A.Wilkins at gmail.com
Wed Jul 21 13:58:25 CEST 2010
Revision: 30582
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30582
Author: jwilkins
Date: 2010-07-21 13:58:23 +0200 (Wed, 21 Jul 2010)
Log Message:
-----------
* closed small gap at top of appearance panel
Modified Paths:
--------------
trunk/blender/release/scripts/ui/space_view3d_toolbar.py
Modified: trunk/blender/release/scripts/ui/space_view3d_toolbar.py
===================================================================
--- trunk/blender/release/scripts/ui/space_view3d_toolbar.py 2010-07-21 11:28:38 UTC (rev 30581)
+++ trunk/blender/release/scripts/ui/space_view3d_toolbar.py 2010-07-21 11:58:23 UTC (rev 30582)
@@ -1108,9 +1108,9 @@
settings = self.paint_settings(context)
brush = settings.brush
- col = layout.column();
+ if context.sculpt_object and context.tool_settings.sculpt:
+ col = layout.column();
- if context.sculpt_object and context.tool_settings.sculpt:
#if brush.sculpt_tool in ('DRAW', 'INFLATE', 'CLAY', 'CLAY_TUBES', 'PINCH', 'CREASE', 'BLOB', 'FLATTEN', 'FILL', 'SCRAPE'):
if brush.sculpt_tool in ('DRAW', 'INFLATE', 'CLAY', 'PINCH', 'CREASE', 'BLOB', 'FLATTEN', 'FILL', 'SCRAPE'):
col.prop(brush, "add_col", text="Add Color")
@@ -1118,7 +1118,7 @@
else:
col.prop(brush, "add_col", text="Color")
- col.separator()
+ col.separator()
col = layout.column()
col.label(text="Icon:")
More information about the Bf-blender-cvs
mailing list