2.5 UI:
authorThomas Dinges <blender@dingto.org>
Sat, 23 Jul 2011 15:36:51 +0000 (15:36 +0000)
committerThomas Dinges <blender@dingto.org>
Sat, 23 Jul 2011 15:36:51 +0000 (15:36 +0000)
* Added back icon to open the Splash Screen in the info header, next to version string info.
* Removed an unnecessary toggle argument for particle mode select buttons. The Toggle argument is only intended for booleans, not enums.

release/scripts/startup/bl_ui/space_info.py
release/scripts/startup/bl_ui/space_view3d.py

index 2b12e75564c0b4d4c01c37aa9e9e70348422b29e..cda37b3119aaf6bf58d78c44dad85838b5e27856 100644 (file)
@@ -60,8 +60,10 @@ class INFO_HT_header(bpy.types.Header):
         layout.template_running_jobs()
 
         layout.template_reports_banner()
-
-        layout.label(text=scene.statistics())
+        
+        row = layout.row(align=True)
+        row.operator("wm.splash", text="", icon='BLENDER', emboss=False)
+        row.label(text=scene.statistics())
 
         # XXX: this should be right-aligned to the RHS of the region
         layout.operator("wm.window_fullscreen_toggle", icon='FULLSCREEN_ENTER', text="")
index aef6accb4e1bff3011260bf21313f4ce3ebe0786..b5e813d16e7a70bd8d7b92bb41ef6663748c4080 100644 (file)
@@ -68,7 +68,7 @@ class VIEW3D_HT_header(bpy.types.Header):
         if obj:
             # Particle edit
             if obj.mode == 'PARTICLE_EDIT':
-                row.prop(toolsettings.particle_edit, "select_mode", text="", expand=True, toggle=True)
+                row.prop(toolsettings.particle_edit, "select_mode", text="", expand=True)
 
             # Occlude geometry
             if view.viewport_shade in {'SOLID', 'SHADED', 'TEXTURED'} and (obj.mode == 'PARTICLE_EDIT' or (obj.mode == 'EDIT' and obj.type == 'MESH')):