Bug? Lighting problem

Sometimes a particular blend of mine won’t display proper lightings. The radiosity rendering is turned off yet still the only matierial displayed is the one with a positive emit value.

http://xs36.xs.to/pics/05270/BrokenPlanetTestImage1.jpg.xs.jpg

http://xs36.xs.to/pics/05270/BrokenPlanetTestImage2.jpg.xs.jpg

Sometimes it works and sometimes it doesn’t. If I move up or down a few frames in the display sometimes it will render properly. I mean, move up 10 frames or so then move back to my original frame.

Is this a bug or do I have an errant setting?

I figured it out. The lamp wasn’t set in all of the relevant layers in the draw context.