Compile fix.

This commit is contained in:
Robert Osfield 2006-02-28 20:10:25 +00:00
parent c64f527925
commit 71b7a6be7b

View File

@ -245,7 +245,7 @@ osg::Group* createShadowedScene(osg::Node* reflectedSubgraph, osg::NodePath refl
// set the reflected subgraph so that it uses the texture and tex gen settings. // set the reflected subgraph so that it uses the texture and tex gen settings.
{ {
osg::Node* reflectorNode = reflectorNodePath.front().get(); osg::Node* reflectorNode = reflectorNodePath.front();
group->addChild(reflectorNode); group->addChild(reflectorNode);
osg::StateSet* stateset = reflectorNode->getOrCreateStateSet(); osg::StateSet* stateset = reflectorNode->getOrCreateStateSet();