[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [664] trunk/py/scripts/addons/ add_mesh_gears.py: -added draw() to worms op

Florian Meyer florianfelix at web.de
Sat May 15 00:47:41 CEST 2010


Revision: 664
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=664
Author:   testscreenings
Date:     2010-05-15 00:47:41 +0200 (Sat, 15 May 2010)

Log Message:
-----------
-added draw() to worms op
-spamming the list with gears

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

Modified: trunk/py/scripts/addons/add_mesh_gears.py
===================================================================
--- trunk/py/scripts/addons/add_mesh_gears.py	2010-05-14 22:35:26 UTC (rev 663)
+++ trunk/py/scripts/addons/add_mesh_gears.py	2010-05-14 22:47:41 UTC (rev 664)
@@ -757,7 +757,6 @@
     def draw(self, context):
         props = self.properties
         layout = self.layout
-        col = layout.column()
         box = layout.box()
         box.prop(props, 'number_of_teeth')
         box = layout.box()
@@ -888,6 +887,22 @@
         default=0.0)
     newMatrix = 'fromInvoke'
 
+    def draw(self, context):
+        props = self.properties
+        layout = self.layout
+        box = layout.box()
+        box.prop(props, 'number_of_teeth')
+        box.prop(props, 'number_of_rows')
+        box.prop(props, 'radius')
+        box.prop(props, 'row_height')
+        box = layout.box()
+        box.prop(props, 'addendum')
+        box.prop(props, 'dedendum')
+        box = layout.box()
+        box.prop(props, 'angle')
+        box.prop(props, 'skew')
+        box.prop(props, 'crown')
+
     def execute(self, context):
         props = self.properties
 




More information about the Bf-extensions-cvs mailing list