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:
authorFlorian Meyer <florianfelix@web.de>2010-05-15 02:47:41 +0400
committerFlorian Meyer <florianfelix@web.de>2010-05-15 02:47:41 +0400
commit34be323f5e8a0db339c814c98374b456df5202b2 (patch)
treee28d5c180e24e9ff282c31b072ed2dba012ab105 /add_mesh_gears.py
parent2680d49111f375272be99d57655185f6703710e3 (diff)
-added draw() to worms op
-spamming the list with gears
Diffstat (limited to 'add_mesh_gears.py')
-rw-r--r--add_mesh_gears.py17
1 files changed, 16 insertions, 1 deletions
diff --git a/add_mesh_gears.py b/add_mesh_gears.py
index 5ba5b6f5..75ba8647 100644
--- a/add_mesh_gears.py
+++ b/add_mesh_gears.py
@@ -757,7 +757,6 @@ class AddGear(bpy.types.Operator):
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 @@ class AddWormGear(bpy.types.Operator):
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