forked from bartvdbraak/blender
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. ;-)
This commit is contained in:
parent
020a34b9de
commit
5815cfd53b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user