[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [35217] trunk/blender/release/scripts/ui: small UI cleanup - "Mouse Cursor" instead of "Show Mouse" and s/subcol/ sub and a new line in the end of constraints ui file

Dalai Felinto dfelinto at gmail.com
Sun Feb 27 10:36:30 CET 2011


Revision: 35217
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=35217
Author:   dfelinto
Date:     2011-02-27 09:36:29 +0000 (Sun, 27 Feb 2011)
Log Message:
-----------
small UI cleanup - "Mouse Cursor" instead of "Show Mouse" and s/subcol/sub and a new line in the end of constraints ui file

Modified Paths:
--------------
    trunk/blender/release/scripts/ui/properties_game.py
    trunk/blender/release/scripts/ui/properties_object_constraint.py

Modified: trunk/blender/release/scripts/ui/properties_game.py
===================================================================
--- trunk/blender/release/scripts/ui/properties_game.py	2011-02-27 09:21:13 UTC (rev 35216)
+++ trunk/blender/release/scripts/ui/properties_game.py	2011-02-27 09:36:29 UTC (rev 35217)
@@ -356,7 +356,7 @@
         flow.prop(gs, "show_framerate_profile", text="Framerate and Profile")
         flow.prop(gs, "show_physics_visualization", text="Physics Visualization")
         flow.prop(gs, "use_deprecation_warnings")
-        flow.prop(gs, "show_mouse")
+        flow.prop(gs, "show_mouse", text="Mouse Cursor")
 
 
 class RENDER_PT_game_sound(RenderButtonsPanel, bpy.types.Panel):

Modified: trunk/blender/release/scripts/ui/properties_object_constraint.py
===================================================================
--- trunk/blender/release/scripts/ui/properties_object_constraint.py	2011-02-27 09:21:13 UTC (rev 35216)
+++ trunk/blender/release/scripts/ui/properties_object_constraint.py	2011-02-27 09:36:29 UTC (rev 35217)
@@ -537,21 +537,21 @@
 
             col = split.column()
             col.prop(con, "use_angular_limit_x", text="Angle X")
-            subcol = col.column()
-            subcol.active  =con.use_angular_limit_x
-            subcol.prop(con, "limit_angle_max_x", text="")
+            sub = col.column()
+            sub.active = con.use_angular_limit_x
+            sub.prop(con, "limit_angle_max_x", text="")
 
             col = split.column()
             col.prop(con, "use_angular_limit_y", text="Angle Y")
-            subcol = col.column()
-            subcol.active  =con.use_angular_limit_y
-            subcol.prop(con, "limit_angle_max_y", text="")
+            sub = col.column()
+            sub.active = con.use_angular_limit_y
+            sub.prop(con, "limit_angle_max_y", text="")
 
             col = split.column()
             col.prop(con, "use_angular_limit_z", text="Angle Z")
-            subcol = col.column()
-            subcol.active  =con.use_angular_limit_z
-            subcol.prop(con, "limit_angle_max_z", text="")
+            sub = col.column()
+            sub.active = con.use_angular_limit_z
+            sub.prop(con, "limit_angle_max_z", text="")
 
         elif con.pivot_type == 'GENERIC_6_DOF':
             layout.label(text="Limits:")
@@ -790,4 +790,5 @@
     bpy.utils.unregister_module(__name__)
 
 if __name__ == "__main__":
-    register()
\ No newline at end of file
+    register()
+




More information about the Bf-blender-cvs mailing list