| 2472 | } |
| 2473 | |
| 2474 | IECore::PathMatcher SceneCache::readSet( const Name &name, bool includeDescendantSets, const Canceller *canceller ) const |
| 2475 | { |
| 2476 | ReaderImplementation *reader = ReaderImplementation::reader( m_implementation.get() ); |
| 2477 | |
| 2478 | PathMatcher set; |
| 2479 | |
| 2480 | // read the old style tags and convert to a set |
| 2481 | Private::loadSetWalk( this, name, set, SceneInterface::Path(), canceller ); |
| 2482 | |
| 2483 | // load the new sets |
| 2484 | set.addPaths( reader->readSet( name, includeDescendantSets, canceller ) ); |
| 2485 | |
| 2486 | return set; |
| 2487 | } |
| 2488 | |
| 2489 | void SceneCache::writeSet( const Name &name, const IECore::PathMatcher &set ) |
| 2490 | { |