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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Smith <j.jaydez@gmail.com>2011-04-21 17:56:10 +0400
committerJonathan Smith <j.jaydez@gmail.com>2011-04-21 17:56:10 +0400
commita13ec92e4cfe4fa6fabfe05cc7ec8b50ea8a0a6e (patch)
tree547fc1afff5782d5d0a3bc884e24f809a862dc2f
parent1a3307aadf2a13ee072d0f0f8bb9401fbca2d769 (diff)
Missing argument for menu operator, which messed up the name for Add Wedge in Extras
-rw-r--r--add_mesh_extras.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/add_mesh_extras.py b/add_mesh_extras.py
index 0e61d01d..bc5fc8bc 100644
--- a/add_mesh_extras.py
+++ b/add_mesh_extras.py
@@ -512,11 +512,9 @@ class INFO_MT_mesh_extras_add(bpy.types.Menu):
def draw(self, context):
layout = self.layout
layout.operator_context = 'INVOKE_REGION_WIN'
- layout.operator("mesh.primitive_sqorus_add",
- text="Sqorus")
- layout.operator("mesh.primitive_wedge_add")
- layout.operator("mesh.primitive_star_add",
- text="Star")
+ layout.operator("mesh.primitive_sqorus_add", text="Sqorus")
+ layout.operator("mesh.primitive_wedge_add", text="Wedge")
+ layout.operator("mesh.primitive_star_add", text="Star")
layout.operator("mesh.primitive_trapezohedron_add",
text="Trapezohedron")