[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45421] trunk/blender/release/scripts/ startup/bl_ui/properties_data_curve.py: UI files:

Thomas Dinges blender at dingto.org
Thu Apr 5 11:52:03 CEST 2012


Revision: 45421
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45421
Author:   dingto
Date:     2012-04-05 09:52:03 +0000 (Thu, 05 Apr 2012)
Log Message:
-----------
UI files:
* Naming convention fixes and one if / elif fix. 

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/properties_data_curve.py

Modified: trunk/blender/release/scripts/startup/bl_ui/properties_data_curve.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_data_curve.py	2012-04-05 09:41:55 UTC (rev 45420)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_data_curve.py	2012-04-05 09:52:03 UTC (rev 45421)
@@ -93,7 +93,7 @@
             col.label(text="Twisting:")
             col.prop(curve, "twist_mode", text="")
             col.prop(curve, "twist_smooth", text="Smooth")
-        if is_text:
+        elif is_text:
             col.label(text="Display:")
             col.prop(curve, "use_fast_edit", text="Fast Editing")
 
@@ -116,9 +116,9 @@
         if is_curve:
             col.label(text="Path / Curve-Deform:")
             sub = col.column()
-            rowsub = sub.row()
-            rowsub.prop(curve, "use_radius")
-            rowsub.prop(curve, "use_stretch")
+            subsub = sub.row()
+            subsub.prop(curve, "use_radius")
+            subsub.prop(curve, "use_stretch")
             sub.prop(curve, "use_deform_bounds")
 
 
@@ -322,10 +322,10 @@
         split = layout.split()
 
         col = split.column()
-        colsub = col.column(align=True)
-        colsub.label(text="Underline:")
-        colsub.prop(text, "underline_position", text="Position")
-        colsub.prop(text, "underline_height", text="Thickness")
+        sub = col.column(align=True)
+        sub.label(text="Underline:")
+        sub.prop(text, "underline_position", text="Position")
+        sub.prop(text, "underline_height", text="Thickness")
 
         col = split.column()
         col.label(text="Character:")




More information about the Bf-blender-cvs mailing list