Fix #29364: Shade Smooth button is misssing in curve object tools.
Added buttons to toolbar to control shading of curves and surfaces
This commit is contained in:
@@ -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:")
|
||||
|
||||
Reference in New Issue
Block a user