[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1857] trunk/py/scripts/addons/ add_mesh_extras.py: Missing argument for menu operator, which messed up the name for Add Wedge in Extras

Jonathan Smith j.jaydez at gmail.com
Thu Apr 21 15:56:11 CEST 2011


Revision: 1857
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=1857
Author:   jaydez
Date:     2011-04-21 13:56:10 +0000 (Thu, 21 Apr 2011)
Log Message:
-----------
Missing argument for menu operator, which messed up the name for Add Wedge in Extras

Modified Paths:
--------------
    trunk/py/scripts/addons/add_mesh_extras.py

Modified: trunk/py/scripts/addons/add_mesh_extras.py
===================================================================
--- trunk/py/scripts/addons/add_mesh_extras.py	2011-04-21 07:06:48 UTC (rev 1856)
+++ trunk/py/scripts/addons/add_mesh_extras.py	2011-04-21 13:56:10 UTC (rev 1857)
@@ -512,11 +512,9 @@
     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")
 



More information about the Bf-extensions-cvs mailing list