diff --git a/release/ui/buttons_material.py b/release/ui/buttons_material.py index 729d39e3b60..8c977567324 100644 --- a/release/ui/buttons_material.py +++ b/release/ui/buttons_material.py @@ -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() diff --git a/release/ui/buttons_physics_fluid.py b/release/ui/buttons_physics_fluid.py index 33979faa4a7..17813beecaa 100644 --- a/release/ui/buttons_physics_fluid.py +++ b/release/ui/buttons_physics_fluid.py @@ -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()