forked from bartvdbraak/blender
3DView / Properties Region:
* Simplify UI inside the Transform Orientation Panel.
This commit is contained in:
parent
4831c9f115
commit
f983fe709d
@ -2369,13 +2369,14 @@ class VIEW3D_PT_transform_orientations(Panel):
|
|||||||
view = context.space_data
|
view = context.space_data
|
||||||
orientation = view.current_orientation
|
orientation = view.current_orientation
|
||||||
|
|
||||||
col = layout.column()
|
row = layout.row(align=True)
|
||||||
col.prop(view, "transform_orientation")
|
row.prop(view, "transform_orientation", text="")
|
||||||
col.operator("transform.create_orientation", text="Create")
|
row.operator("transform.create_orientation", text="", icon='ZOOMIN')
|
||||||
|
|
||||||
if orientation:
|
if orientation:
|
||||||
col.prop(orientation, "name")
|
row = layout.row(align=True)
|
||||||
col.operator("transform.delete_orientation", text="Delete")
|
row.prop(orientation, "name", text="")
|
||||||
|
row.operator("transform.delete_orientation", text="", icon="X")
|
||||||
|
|
||||||
|
|
||||||
class VIEW3D_PT_etch_a_ton(Panel):
|
class VIEW3D_PT_etch_a_ton(Panel):
|
||||||
|
Loading…
Reference in New Issue
Block a user