Last minute UI fix:
authorThomas Dinges <blender@dingto.org>
Sat, 15 Oct 2011 10:03:21 +0000 (10:03 +0000)
committerThomas Dinges <blender@dingto.org>
Sat, 15 Oct 2011 10:03:21 +0000 (10:03 +0000)
* Vert/Edge/Face select buttons looked crappy when in EditMode and Wireframe shading. Fixed it.
This commit makes the View3D Template a bit narrower in general, but it's very minor, should be no problem.
This also fixes some weird increase/decrease of the 3D Mode selector menu when toggling between Textured/Solid and Wireframe/Boundbox shading.

release/scripts/startup/bl_ui/space_view3d.py

index 068e5a2659a404a71df8568978ae29780a49bace..ff6afa81e65bc098b39777461bb811ba85958506 100644 (file)
@@ -54,10 +54,11 @@ class VIEW3D_HT_header(Header):
             else:
                 sub.menu("VIEW3D_MT_object")
 
-        row = layout.row()
+        
         # Contains buttons like Mode, Pivot, Manipulator, Layer, Mesh Select Mode...
-        row.template_header_3D()
-
+        layout.template_header_3D()
+        
+        row = layout.row()
         if obj:
             # Particle edit
             if obj.mode == 'PARTICLE_EDIT':