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:
authorThomas Dinges <blender@dingto.org>2009-07-25 14:42:23 +0400
committerThomas Dinges <blender@dingto.org>2009-07-25 14:42:23 +0400
commit5815cfd53b7ffcbcf123dfc3f99ed5b64dce0b6a (patch)
tree6c0e5ccc52e4ce8cfada75ff7e6426c747ef8de7 /release
parent020a34b9de7a8806c471700ca02b9cc013abc56d (diff)
2.5 Smooth/Flat Shading:
* Added operators in Toolbar for Object Mode too. (Mesh only). I think it should be there too, going into edit mode and select all just to change the shading of the whole mesh is not good. ;-)
Diffstat (limited to 'release')
-rw-r--r--release/ui/space_view3d_toolbar.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/release/ui/space_view3d_toolbar.py b/release/ui/space_view3d_toolbar.py
index 0612439f7cf..7889827ee7b 100644
--- a/release/ui/space_view3d_toolbar.py
+++ b/release/ui/space_view3d_toolbar.py
@@ -28,6 +28,13 @@ class VIEW3D_PT_tools_objectmode(View3DPanel):
col.itemO("object.duplicate")
col.itemO("object.delete")
+ if context.active_object.type == 'MESH':
+ layout.itemL(text="Shading:")
+
+ col = layout.column(align=True)
+ col.itemO("object.shade_smooth", text="Smooth")
+ col.itemO("object.shade_flat", text="Flat")
+
layout.itemL(text="Keyframes:")
col = layout.column(align=True)