[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2535] branches/geodesic_domes/gui_259. py: adjusted for 'more or less modal sphere, torus, ...'
Peter K.H. Gragert
pkhgragert at gmail.com
Thu Oct 27 12:14:04 CEST 2011
Revision: 2535
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2535
Author: pkhg
Date: 2011-10-27 10:14:03 +0000 (Thu, 27 Oct 2011)
Log Message:
-----------
adjusted for 'more or less modal sphere, torus, ...'
Modified Paths:
--------------
branches/geodesic_domes/gui_259.py
Modified: branches/geodesic_domes/gui_259.py
===================================================================
--- branches/geodesic_domes/gui_259.py 2011-10-27 07:05:44 UTC (rev 2534)
+++ branches/geodesic_domes/gui_259.py 2011-10-27 10:14:03 UTC (rev 2535)
@@ -288,6 +288,8 @@
row.prop(context.scene,"grid_xsize")
row.prop(context.scene,"grid_ysize")
elif tmp == 2: #cylinder
+ pass
+ '''
row = layout.row()
row.prop(context.scene,"cylinder_uresolution")
row.prop(context.scene,"cylinder_vresolution")
@@ -306,7 +308,10 @@
row = layout.row()
row.prop(context.scene,"cylinder_xscale")
row.prop(context.scene,"cylinder_yscale")
+ '''
elif tmp == 3: #parabola
+ pass
+ '''
row = layout.row()
row.prop(context.scene,"parabola_uresolution")
row.prop(context.scene,"parabola_vresolution")
@@ -325,7 +330,10 @@
row = layout.row()
row.prop(context.scene,"parabola_xscale")
row.prop(context.scene,"parabola_yscale")
+ '''
elif tmp == 4: #torus
+ pass
+ ''' #check if this works does!
row = layout.row()
row.prop(context.scene,"torus_uresolution")
row.prop(context.scene,"torus_vresolution")
@@ -344,8 +352,11 @@
row = layout.row()
row.prop(context.scene,"torus_xscale")
row.prop(context.scene,"torus_yscale")
+ #'''
elif tmp == 5: #sphere
+ pass
+ '''
row = layout.row()
row.prop(context.scene,"sphere_uresolution")
row.prop(context.scene,"sphere_vresolution")
@@ -364,6 +375,7 @@
row = layout.row()
row.prop(context.scene,"sphere_xscale")
row.prop(context.scene,"sphere_yscale")
+ '''
else:
col.label("your mesh not yet implemented")
else:
@@ -392,6 +404,7 @@
from geodesic_domes import geodesic_259
geodesic_259.generate(context)
return {'FINISHED'}
+#??? what changes this? PKHG??? return {'RUNNING_MODAL'}
def register():
bpy.utils.register_module(__name__)
More information about the Bf-extensions-cvs
mailing list