diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-11-22 21:26:40 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-11-22 21:26:40 +0400 |
commit | 5f2c9c660cb24e25fb75d6e186c22472f2bb58c9 (patch) | |
tree | 76896d78bc4059366ccc7eab6e23316ffb4158e7 | |
parent | 04fe6fc76472c894e5e78d079b84cac112e782b1 (diff) |
Fix #29364: Shade Smooth button is misssing in curve object tools.
Added buttons to toolbar to control shading of curves and surfaces
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 5bcdbc1efe8..ddea7bd00fd 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -88,7 +88,7 @@ class VIEW3D_PT_tools_objectmode(View3DPanel, Panel): 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:") |