MCPcopy Create free account
hub / github.com/ImageEngine/cortex / hasAttribute

Method hasAttribute

src/IECoreScene/LinkedScene.cpp:503–523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

501}
502
503bool LinkedScene::hasAttribute( const Name &name ) const
504{
505 // \todo: remove this when it's no longer relevant
506 if ( name == linkAttribute )
507 {
508 return false;
509 }
510
511 if ( m_linkedScene && !m_atLink )
512 {
513 return m_linkedScene->hasAttribute(name);
514 }
515 else
516 {
517 if( name == timeLinkAttribute && m_linkedScene )
518 {
519 return true;
520 }
521 return m_mainScene->hasAttribute(name);
522 }
523}
524
525void LinkedScene::attributeNames( NameList &attrs ) const
526{

Callers 8

testTimeRemappingMethod · 0.95
LinkedSceneMethod · 0.45
readAttributeMethod · 0.45
writeAttributeMethod · 0.45
remappedLinkTimeMethod · 0.45
childMethod · 0.45
sceneMethod · 0.45

Calls

no outgoing calls

Tested by 1

testTimeRemappingMethod · 0.76