Commits

Anonymous committed e1acfe5 Draft

Replaced use of now deprecated methods.

  • Participants
  • Parent commits 0be21ab

Comments (0)

Files changed (1)

src/osgShadow/ViewDependentShadowMap.cpp

     // record the traversal mask on entry so we can reapply it later.
     unsigned int traversalMask = cv->getTraversalMask();
 
-    cv->setTraversalMask( traversalMask & _shadowedScene->getReceivesShadowTraversalMask() );
+    cv->setTraversalMask( traversalMask & _shadowedScene->getShadowSettings()->getReceivesShadowTraversalMask() );
 
     _shadowedScene->osg::Group::traverse(*cv);
 
     // record the traversal mask on entry so we can reapply it later.
     unsigned int traversalMask = cv->getTraversalMask();
 
-    cv->setTraversalMask( traversalMask & _shadowedScene->getCastsShadowTraversalMask() );
+    cv->setTraversalMask( traversalMask & _shadowedScene->getShadowSettings()->getCastsShadowTraversalMask() );
 
         if (camera) camera->accept(*cv);