Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-11-22 21:26:40 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-11-22 21:26:40 +0400
commit5f2c9c660cb24e25fb75d6e186c22472f2bb58c9 (patch)
tree76896d78bc4059366ccc7eab6e23316ffb4158e7
parent04fe6fc76472c894e5e78d079b84cac112e782b1 (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.py2
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:")