Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2009-07-30 14:38:46 +0400
committerThomas Dinges <blender@dingto.org>2009-07-30 14:38:46 +0400
commit248fa8ec5479ecccb9471c321fa685e5d9f4ad0c (patch)
tree276bb5ae3794068b7aea6779021af08e40f70ff8 /release
parent13786ba621a22dcd3a7c7a747d481e08b4e5530b (diff)
2.5 Buttons:
* Material buttons didn't import. Fixed. * Removed Path label from Fluid panels.
Diffstat (limited to 'release')
-rw-r--r--release/ui/buttons_material.py2
-rw-r--r--release/ui/buttons_physics_fluid.py2
2 files changed, 1 insertions, 3 deletions
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()