Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-04-14 11:34:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-04-14 11:34:07 +0300
commit3bef5d15d8c0a3a23922c0658ea4e0654199f0b4 (patch)
treeb4e4a386d00c0cc29c70a3376fbbc9cf61e9c807 /release
parent0fa7e1efbe244174e74dcbafbe50d7003a907ef6 (diff)
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.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 167091815b4..f38bbb46f85 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -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):