diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-08 08:51:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-08 08:51:16 +0300 |
commit | 2692dc55619905b504b7273ea9eaa9f7350acf9b (patch) | |
tree | b08bea42f851f5a26fdd65c98345f66aecbee82e /intern/guardedalloc | |
parent | 1f16e68af9b1be88232eef44b2d3206884d12449 (diff) |
bugfix [#25082] minor bug. RGB to Intensity doesn't works for Lamps
- This is working correctly but confusing, made more confusing by UI problems, corrected these and updated tooltop for 'tex.use_rgb_to_intensity'
- bad RNA arguments used for lamps (left over from RNA renaming).
- use isinstance(...), rather then comparing type() directly, this failed with lamp type checks.
- removed redundant argument to internal texture UI function factor_but().
- the texture color was drawn inactive when it was used in some cases.
Note. AFAIK its not possible to do a general check to see if a texture is colored or not, eg: its possible a plugin texture returns color in some cases and greyscale in others.
so for now always have color button active.
Diffstat (limited to 'intern/guardedalloc')
0 files changed, 0 insertions, 0 deletions