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:
authorJanne Karhu <jhkarh@gmail.com>2010-11-19 11:37:19 +0300
committerJanne Karhu <jhkarh@gmail.com>2010-11-19 11:37:19 +0300
commitba36dd3cc55333c8bd716d23cf00e8d1a4f6dac3 (patch)
tree22a782a620654787370421dc917d4be237e5ec0e /release/scripts/ui/properties_material.py
parent53d0bdd6b3b6a3d65485d63a45b026e6e28c6375 (diff)
"Fix" for [#24743] Strand Shading: Distance slider gives different results even when greyed out
* The actual flag was set at render time, was not supposed to be editable manually.
Diffstat (limited to 'release/scripts/ui/properties_material.py')
-rw-r--r--release/scripts/ui/properties_material.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/release/scripts/ui/properties_material.py b/release/scripts/ui/properties_material.py
index 82a52214b69..5c15bece6d6 100644
--- a/release/scripts/ui/properties_material.py
+++ b/release/scripts/ui/properties_material.py
@@ -622,9 +622,8 @@ class MATERIAL_PT_strand(MaterialButtonsPanel, bpy.types.Panel):
col.separator()
sub = col.column()
sub.active = (not mat.use_shadeless)
- sub.prop(tan, "use_surface_diffuse")
+ sub.label("Surface diffuse:")
sub = col.column()
- sub.active = tan.use_surface_diffuse
sub.prop(tan, "blend_distance", text="Distance")