Revision: 42073
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=42073
Author:   nazgul
Date:     2011-11-22 17:26:40 +0000 (Tue, 22 Nov 2011)
Log Message:
-----------
Fix #29364: Shade Smooth button is misssing in curve object tools.

Added buttons to toolbar to control shading of curves and surfaces

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 
2011-11-22 17:14:47 UTC (rev 42072)
+++ trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py 
2011-11-22 17:26:40 UTC (rev 42073)
@@ -88,7 +88,7 @@
         col.operator("object.join")
 
         active_object = context.active_object
-        if active_object and active_object.type == 'MESH':
+        if active_object and active_object.type in {'MESH', 'CURVE', 
'SURFACE'}:
 
             col = layout.column(align=True)
             col.label(text="Shading:")

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

Reply via email to