Compile fix.
This commit is contained in:
parent
c64f527925
commit
71b7a6be7b
@ -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.
|
||||
{
|
||||
osg::Node* reflectorNode = reflectorNodePath.front().get();
|
||||
osg::Node* reflectorNode = reflectorNodePath.front();
|
||||
group->addChild(reflectorNode);
|
||||
|
||||
osg::StateSet* stateset = reflectorNode->getOrCreateStateSet();
|
||||
|
Loading…
Reference in New Issue
Block a user