Skip to content

Commit

Permalink
Missing argument for menu operator, which messed up the name for Add …
Browse files Browse the repository at this point in the history
…Wedge in Extras
  • Loading branch information
jajsmith committed Apr 21, 2011
1 parent 1a3307a commit a13ec92
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions add_mesh_extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit a13ec92

Please sign in to comment.