| 1481 | } |
| 1482 | |
| 1483 | void LinkedScene::recurseLinkLocations( PathMatcher &pathMatcher ) const |
| 1484 | { |
| 1485 | SceneInterface::NameList children; |
| 1486 | childNames( children ); |
| 1487 | |
| 1488 | bool isLinkLocation = hasAttribute( fileNameLinkAttribute ) && hasAttribute( rootLinkAttribute ); |
| 1489 | |
| 1490 | if( isLinkLocation ) |
| 1491 | { |
| 1492 | SceneInterface::Path p; |
| 1493 | path( p ); |
| 1494 | pathMatcher.addPath( p ); |
| 1495 | } |
| 1496 | |
| 1497 | for( const SceneInterface::Name &c : children ) |
| 1498 | { |
| 1499 | ConstSceneInterfacePtr childScene = child( c, SceneInterface::ThrowIfMissing ); |
| 1500 | runTimeCast<const LinkedScene>( childScene.get() )->recurseLinkLocations( pathMatcher ); |
| 1501 | } |
| 1502 | } |
nothing calls this directly
no test coverage detected