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:
Campbell Barton 2020-04-14 18:34:07 +10:00
parent 0fa7e1efbe
commit 3bef5d15d8
1 changed files with 3 additions and 0 deletions

View File

@ -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):