UI: add spin to extrude menu
This tool wasn't accessible anywhere in the interface (besides the interactive tool). Add to extrude since it's a kind of extrusion.
This commit is contained in:
parent
0fa7e1efbe
commit
3bef5d15d8
|
@ -3879,6 +3879,8 @@ class VIEW3D_MT_edit_mesh_extrude(Menu):
|
|||
return menu
|
||||
|
||||
def draw(self, context):
|
||||
from math import pi
|
||||
|
||||
layout = self.layout
|
||||
layout.operator_context = 'INVOKE_REGION_WIN'
|
||||
|
||||
|
@ -3888,6 +3890,7 @@ class VIEW3D_MT_edit_mesh_extrude(Menu):
|
|||
layout.separator()
|
||||
|
||||
layout.operator("mesh.extrude_repeat")
|
||||
layout.operator("mesh.spin").angle = pi * 2
|
||||
|
||||
|
||||
class VIEW3D_MT_edit_mesh_vertices(Menu):
|
||||
|
|
Loading…
Reference in New Issue