EditMesh: show XYZ axis for extrude
Always show normal axis since this is the most used, even when another orientation is selected.
This commit is contained in:
@@ -397,12 +397,6 @@ class _defs_edit_mesh:
|
||||
|
||||
@ToolDef.from_fn
|
||||
def extrude():
|
||||
def draw_settings(context, layout):
|
||||
wm = context.window_manager
|
||||
props = wm.operator_properties_last("mesh.extrude_context_move")
|
||||
props_xform = props.TRANSFORM_OT_translate
|
||||
layout.prop(props_xform, "constraint_orientation")
|
||||
|
||||
return dict(
|
||||
text="Extrude Region",
|
||||
icon="ops.mesh.extrude_region_move",
|
||||
@@ -411,7 +405,6 @@ class _defs_edit_mesh:
|
||||
("mesh.extrude_context_move", dict(TRANSFORM_OT_translate=dict(release_confirm=True)),
|
||||
dict(type='ACTIONMOUSE', value='PRESS')),
|
||||
),
|
||||
draw_settings=draw_settings,
|
||||
)
|
||||
|
||||
@ToolDef.from_fn
|
||||
|
Reference in New Issue
Block a user