Revision: 22048
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=22048
Author:   dingto
Date:     2009-07-30 12:38:46 +0200 (Thu, 30 Jul 2009)

Log Message:
-----------
2.5 Buttons:

* Material buttons didn't import. Fixed.
* Removed Path label from Fluid panels. 

Modified Paths:
--------------
    branches/blender2.5/blender/release/ui/buttons_material.py
    branches/blender2.5/blender/release/ui/buttons_physics_fluid.py

Modified: branches/blender2.5/blender/release/ui/buttons_material.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_material.py  2009-07-30 
10:33:41 UTC (rev 22047)
+++ branches/blender2.5/blender/release/ui/buttons_material.py  2009-07-30 
10:38:46 UTC (rev 22048)
@@ -384,7 +384,7 @@
                mat = context.material
                rayt = context.material.raytrace_transparency
                
-               layout.active = rayt.enabled and mat.shadeless = False
+               layout.active = rayt.enabled and mat.shadeless == False
                
                split = layout.split()
                

Modified: branches/blender2.5/blender/release/ui/buttons_physics_fluid.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_physics_fluid.py     
2009-07-30 10:33:41 UTC (rev 22047)
+++ branches/blender2.5/blender/release/ui/buttons_physics_fluid.py     
2009-07-30 10:38:46 UTC (rev 22048)
@@ -69,7 +69,6 @@
                                col.itemR(fluid, "reverse_frames")
                                col.itemR(fluid, "generate_speed_vectors")
                                
-                               layout.itemL(text="Path:")
                                layout.itemR(fluid, "path", text="")
                                
                        elif fluid.type == 'FLUID':
@@ -133,7 +132,6 @@
                                sub.itemR(fluid, "particle_influence", 
text="Size")
                                sub.itemR(fluid, "alpha_influence", 
text="Alpha")
                                
-                               layout.itemL(text="Path:")
                                layout.itemR(fluid, "path", text="")
                                
                                col = split.column()


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to