Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#25082] minor bug. RGB to Intensity doesn't works for Lamps

Date:
2010-12-07 15:23
Priority:
3
State:
Closed
Submitted by:
Moolah Nasreddin (moolah)
Assigned to:
Campbell Barton (campbellbarton)
Category:
Rendering
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
minor bug. RGB to Intensity doesn't works for Lamps
Detailed description
win32, r33530

Seems that RGB to Intensity must work for Lamps too.

Render to see what I mean.

Followup

Message
  • Date: 2010-12-07 16:41
  • Sender: Ton Roosendaal
  • There are no mapping options for "intensity" (1 channel). The option could simply be removed.

    Campbell: I noticed in properties_texture.py this line fails to recognize the lamp type:
    if type(idblock) == bpy.types.Lamp:

    The variable context.lamp is not set?
  • Date: 2010-12-08 06:53
  • Sender: Campbell Barton
  • - fixed lamp type comparison and some other minor errors.
    - this option is used for lamps, it just has no effect if the texture is already gray.
    so graying out the UI option when 'RGB to intensity' is not enabled is incorrect.

    fixed in svn r33547.
 

Attached Files:

Name Date Download
RGB_to_intensity_doesnWorks.blend 2010-12-07 15:23 Download

Changes:

Field Old Value Date By
close_date2010-12-08 06:532010-12-08 06:53campbellbarton
status_idOpen2010-12-08 06:53campbellbarton
ResolutionInvestigate2010-12-08 06:53campbellbarton
ResolutionNew2010-12-07 16:41ton
assigned_tonone2010-12-07 16:41ton
File Added14010: RGB_to_intensity_doesnWorks.blend2010-12-07 15:23moolah