| 329 | } |
| 330 | |
| 331 | void VDBObject::hash( IECore::MurmurHash &h ) const |
| 332 | { |
| 333 | IECoreScene::VisibleRenderable::hash( h ); |
| 334 | |
| 335 | if( unmodifiedFromFile() && m_lockedFile && m_lockedFile->file) |
| 336 | { |
| 337 | h.append( m_lockedFile->file->filename() ); |
| 338 | return; |
| 339 | } |
| 340 | |
| 341 | for( const auto& it : m_grids ) |
| 342 | { |
| 343 | h.append( it.second.hash() ); |
| 344 | } |
| 345 | } |
| 346 | |
| 347 | void VDBObject::copyFrom( const IECore::Object *other, IECore::Object::CopyContext *context ) |
| 348 | { |