[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [21502] branches/blender2.5/blender/ release/ui: 2.5 Buttons:

Thomas Dinges dingto at gmx.de
Fri Jul 10 21:11:23 CEST 2009


Revision: 21502
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21502
Author:   dingto
Date:     2009-07-10 21:11:22 +0200 (Fri, 10 Jul 2009)

Log Message:
-----------
2.5 Buttons:
Small fixes:

* Removed Particle System Context header
* Lamp Type is a menu now, better for small displays.

Modified Paths:
--------------
    branches/blender2.5/blender/release/ui/buttons_data_lamp.py
    branches/blender2.5/blender/release/ui/buttons_particle.py

Modified: branches/blender2.5/blender/release/ui/buttons_data_lamp.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_lamp.py	2009-07-10 18:13:51 UTC (rev 21501)
+++ branches/blender2.5/blender/release/ui/buttons_data_lamp.py	2009-07-10 19:11:22 UTC (rev 21502)
@@ -48,7 +48,7 @@
 		
 		lamp = context.lamp
 
-		layout.itemR(lamp, "type", expand=True)
+		layout.itemR(lamp, "type")
 		
 		split = layout.split()
 		

Modified: branches/blender2.5/blender/release/ui/buttons_particle.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_particle.py	2009-07-10 18:13:51 UTC (rev 21501)
+++ branches/blender2.5/blender/release/ui/buttons_particle.py	2009-07-10 19:11:22 UTC (rev 21502)
@@ -20,7 +20,7 @@
 
 class PARTICLE_PT_particles(ParticleButtonsPanel):
 	__idname__= "PARTICLE_PT_particles"
-	__label__ = " "
+	__no_header__ = True
 
 	def poll(self, context):
 		return (context.particle_system or context.object)





More information about the Bf-blender-cvs mailing list