1. openscenegraph
  2. osg

Commits

rob...@16af8721-9629-0410-8352-f15c8da7e697  committed e1acfe5 Draft

Replaced use of now deprecated methods.

  • Participants
  • Parent commits 0be21ab
  • Branches default

Comments (0)

Files changed (1)

File src/osgShadow/ViewDependentShadowMap.cpp

View file
  • Ignore whitespace
     // 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);