| 931 | } |
| 932 | |
| 933 | void LinkedScene::writeSet( const SceneInterface::Name &name, const IECore::PathMatcher &set ) |
| 934 | { |
| 935 | if( m_linkedScene ) // todo check this condition. |
| 936 | { |
| 937 | SceneInterface::Path p; |
| 938 | path( p ); |
| 939 | std::string strPath; |
| 940 | SceneInterface::pathToString( p, strPath ); |
| 941 | throw IECore::Exception( boost::str( boost::format( "Unable to write set to linked scene location: '%1%'" ) % strPath ) ); |
| 942 | } |
| 943 | else |
| 944 | { |
| 945 | m_mainScene->writeSet( name, set ); |
| 946 | } |
| 947 | } |
| 948 | |
| 949 | void LinkedScene::hashSet( const SceneInterface::Name &setName, IECore::MurmurHash &h ) const |
| 950 | { |
nothing calls this directly
no test coverage detected