[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2445] branches/geodesic_domes/gui_259. py: names adjusted parameters of 'geodesic' got so to say\

Peter K.H. Gragert pkhgragert at gmail.com
Fri Oct 14 19:39:57 CEST 2011


Revision: 2445
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2445
Author:   pkhg
Date:     2011-10-14 17:39:57 +0000 (Fri, 14 Oct 2011)
Log Message:
-----------
names adjusted parameters of 'geodesic' got so to say\
the prefic geodesic_ 

Modified Paths:
--------------
    branches/geodesic_domes/gui_259.py

Modified: branches/geodesic_domes/gui_259.py
===================================================================
--- branches/geodesic_domes/gui_259.py	2011-10-14 14:10:59 UTC (rev 2444)
+++ branches/geodesic_domes/gui_259.py	2011-10-14 17:39:57 UTC (rev 2445)
@@ -100,13 +100,13 @@
     description="Class nr 2",
     default=False)
     
-bpy.types.Scene.dual = BoolProperty(
+bpy.types.Scene.geodesic_dual = BoolProperty(
     name="Dual",
     description="Dual object",
     default=False)
 
 
-bpy.types.Scene.spherical = EnumProperty(
+bpy.types.Scene.geodesic_spherical = EnumProperty(
     name="one of two",
     description="Choose between spherical or flat ",
     items=[("0","spherical","Generate spherical"),
@@ -115,12 +115,12 @@
     default='0')
 
 bpy.types.Scene.geodesic_frequency = IntProperty(name="Frequency",min = 1, soft_max=5, max = 10, default = 3)
-bpy.types.Scene.radius = FloatProperty(name="Radius",min = 0.001, soft_min=0.1, soft_max=4,max = 5, default = 1.0)
+bpy.types.Scene.geodesic_radius = FloatProperty(name="Radius",min = 0.001, soft_min=0.1, soft_max=4,max = 5, default = 1.0)
 bpy.types.Scene.geodesic_eccentricity = FloatProperty(name="Eccentricity",min = 0.001, soft_min=0.1, soft_max=4,max = 5, default = 1.0)
-bpy.types.Scene.flatten = FloatProperty(name="Flatten",min = 0.001, soft_min=0.1, soft_max=4,max = 5, default = 1.0)
-bpy.types.Scene.square = FloatProperty(name="Square",min = 0.001, soft_min=0.1, soft_max=4,max = 5, default = 1.0)
+bpy.types.Scene.geodesic_flatten = FloatProperty(name="Flatten",min = 0.001, soft_min=0.1, soft_max=4,max = 5, default = 1.0)
+bpy.types.Scene.geodesic_square = FloatProperty(name="Square",min = 0.001, soft_min=0.1, soft_max=4,max = 5, default = 1.0)
 bpy.types.Scene.super_rotate = FloatProperty(name="Super_rotate",min = 0.001, soft_min=0.1, soft_max=4,max = 5, default = 1.0)
-bpy.types.Scene.square_z = FloatProperty(name="Square Z",min = 0.001, soft_min=0.1, soft_max=4,max = 5, default = 1.0)
+bpy.types.Scene.geodesic_square_z = FloatProperty(name="Square Z",min = 0.001, soft_min=0.1, soft_max=4,max = 5, default = 1.0)
 bpy.types.Scene.super_rotate_nr2 = FloatProperty(name="2nd Super_rotate",min = 0.001, soft_min=0.1, soft_max=4,max = 5, default = 1.0)
 
 bpy.types.Scene.choose_type = EnumProperty(
@@ -197,22 +197,22 @@
                 col.prop(context.scene, "orientation")
     
                 row = layout.row()
-                row.prop(context.scene,"dual")
-                row.prop(context.scene,"spherical")
+                row.prop(context.scene,"geodesic_dual")
+                row.prop(context.scene,"geodesic_spherical")
     
                 row = layout.row()
                 row.prop(context.scene,"geodesic_frequency")
-                row.prop(context.scene,"radius")
+                row.prop(context.scene,"geodesic_radius")
                 row = layout.row()
                 row.prop(context.scene,"geodesic_eccentricity")
-                row.prop(context.scene,"flatten")
+                row.prop(context.scene,"geodesic_flatten")
                 row = layout.row()
-                row.prop(context.scene,"square")
+                row.prop(context.scene,"geodesic_square")
                 row.prop(context.scene,"super_rotate")
                 row = layout.row()
-                row.prop(context.scene,"square_z")
+                row.prop(context.scene,"geodesic_square_z")
                 row.prop(context.scene,"super_rotate_nr2")
-            elif tmp == 1:
+            elif tmp == 1: #grid
                 row = layout.row()
                 row.prop(context.scene,"grid_xres")
                 row.prop(context.scene,"grid_yres")



More information about the Bf-extensions-cvs mailing list