From 4057626e55e3c1e78d6725c54160b059580f1dd1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 14 Dec 2010 16:20:25 +0000 Subject: - revert own recent change after discussion, default set hard minimum of colors to 0 but now don't set a hard min, each property needs to define. - use_old_bump setting only applies to material texture slots. --- release/scripts/ui/properties_texture.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'release') diff --git a/release/scripts/ui/properties_texture.py b/release/scripts/ui/properties_texture.py index 5e200a45eb8..b343035b29a 100644 --- a/release/scripts/ui/properties_texture.py +++ b/release/scripts/ui/properties_texture.py @@ -988,8 +988,9 @@ class TEXTURE_PT_influence(TextureSlotPanel, bpy.types.Panel): # color is used on grayscale textures even when use_rgb_to_intensity is disabled. col.prop(tex, "color", text="") - # XXX, dont remove since old files have this users need to be able to disable! - col.prop(tex, "use_old_bump", text="Old Bump Mapping") + if isinstance(idblock, bpy.types.Material): + # XXX, dont remove since old files have this users need to be able to disable! + col.prop(tex, "use_old_bump", text="Old Bump Mapping") col = split.column() col.prop(tex, "invert", text="Negative") -- cgit v1.2.3