| 523 | } |
| 524 | |
| 525 | void LinkedScene::attributeNames( NameList &attrs ) const |
| 526 | { |
| 527 | if ( m_linkedScene && !m_atLink ) |
| 528 | { |
| 529 | m_linkedScene->attributeNames(attrs); |
| 530 | } |
| 531 | else |
| 532 | { |
| 533 | m_mainScene->attributeNames(attrs); |
| 534 | |
| 535 | for ( NameList::iterator it = attrs.begin(); it != attrs.end(); it++ ) |
| 536 | { |
| 537 | // \todo: remove "*it == linkAttribute" when it's no longer relevant |
| 538 | if ( *it == linkAttribute || *it == fileNameLinkAttribute || *it == rootLinkAttribute || *it == timeLinkAttribute || *it == g_linkLocations ) |
| 539 | { |
| 540 | attrs.erase( it ); |
| 541 | --it; |
| 542 | } |
| 543 | } |
| 544 | } |
| 545 | } |
| 546 | |
| 547 | size_t LinkedScene::numAttributeSamples( const Name &name ) const |
| 548 | { |