Skip to content
Snippets Groups Projects
Commit a13ec92e authored by Jonathan Smith's avatar Jonathan Smith
Browse files

Missing argument for menu operator, which messed up the name for Add Wedge in Extras

parent 1a3307aa
No related branches found
No related tags found
No related merge requests found
...@@ -512,11 +512,9 @@ class INFO_MT_mesh_extras_add(bpy.types.Menu): ...@@ -512,11 +512,9 @@ class INFO_MT_mesh_extras_add(bpy.types.Menu):
def draw(self, context): def draw(self, context):
layout = self.layout layout = self.layout
layout.operator_context = 'INVOKE_REGION_WIN' layout.operator_context = 'INVOKE_REGION_WIN'
layout.operator("mesh.primitive_sqorus_add", layout.operator("mesh.primitive_sqorus_add", text="Sqorus")
text="Sqorus") layout.operator("mesh.primitive_wedge_add", text="Wedge")
layout.operator("mesh.primitive_wedge_add") layout.operator("mesh.primitive_star_add", text="Star")
layout.operator("mesh.primitive_star_add",
text="Star")
layout.operator("mesh.primitive_trapezohedron_add", layout.operator("mesh.primitive_trapezohedron_add",
text="Trapezohedron") text="Trapezohedron")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment