Blender Git Loki

Git Commits -> Revision 2692dc5

Revision 2692dc5 by Campbell Barton (master)
December 8, 2010, 05:51 (GMT)
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.

Commit Details:

Full Hash: 2692dc55619905b504b7273ea9eaa9f7350acf9b
SVN Revision: 33547
Parent Commit: 1f16e68
Lines Changed: +47, -44

2 Modified Paths:

/release/scripts/op/uv.py (+1, -1) (Diff)
/release/scripts/ui/properties_texture.py (+46, -43) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021