[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46140] trunk/blender/release/scripts/ startup/bl_ui/space_view3d.py: Do not stick normal length slider in 3d viewport properties to display normals buttons

Sergey Sharybin sergey.vfx at gmail.com
Tue May 1 11:38:30 CEST 2012


Revision: 46140
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46140
Author:   nazgul
Date:     2012-05-01 09:38:29 +0000 (Tue, 01 May 2012)
Log Message:
-----------
Do not stick normal length slider in 3d viewport properties to display normals buttons

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

Modified: trunk/blender/release/scripts/startup/bl_ui/space_view3d.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_view3d.py	2012-05-01 09:17:22 UTC (rev 46139)
+++ trunk/blender/release/scripts/startup/bl_ui/space_view3d.py	2012-05-01 09:38:29 UTC (rev 46140)
@@ -2379,9 +2379,10 @@
 
         col.separator()
         col.label(text="Normals:")
-        row = col.row(align=True)
-        row.prop(mesh, "show_normal_vertex", text="", icon='VERTEXSEL')
-        row.prop(mesh, "show_normal_face", text="", icon='FACESEL')
+        row = col.row()
+        sub = row.row(align=True)
+        sub.prop(mesh, "show_normal_vertex", text="", icon='VERTEXSEL')
+        sub.prop(mesh, "show_normal_face", text="", icon='FACESEL')
         row.prop(context.scene.tool_settings, "normal_size", text="Size")
 
         col.separator()




More information about the Bf-blender-cvs mailing list