Added haveAppliedAttribute to allow draw callbacks to get access to the

current active lights.
This commit is contained in:
Robert Osfield
2004-06-04 12:27:04 +00:00
parent bfd1286b25
commit 4bb147aed4

View File

@@ -50,6 +50,9 @@ void RenderStageLighting::draw(osg::State& state,RenderLeaf*& previous)
// apply the light source.
litr->first->apply(state);
// tell state about.
state.haveAppliedAttribute(litr->first);
}