2.5 Buttons:
authorThomas Dinges <blender@dingto.org>
Thu, 30 Jul 2009 10:38:46 +0000 (10:38 +0000)
committerThomas Dinges <blender@dingto.org>
Thu, 30 Jul 2009 10:38:46 +0000 (10:38 +0000)
* Material buttons didn't import. Fixed.
* Removed Path label from Fluid panels.

release/ui/buttons_material.py
release/ui/buttons_physics_fluid.py

index 729d39e3b60847caa2fb978e7623f13d720239df..8c977567324ee729fbe108010a21dd4f0f8fef7c 100644 (file)
@@ -384,7 +384,7 @@ class MATERIAL_PT_raytransp(MaterialButtonsPanel):
                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()
                
index 33979faa4a7114521076b488ca5ee8747368b831..17813beecaa49519775041839d751eee38725dd6 100644 (file)
@@ -69,7 +69,6 @@ class PHYSICS_PT_fluid(PhysicButtonsPanel):
                                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 @@ class PHYSICS_PT_fluid(PhysicButtonsPanel):
                                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()