| 768 | } |
| 769 | |
| 770 | void EveChildContainer::UpdateCurveSet( const std::string& name, Be::Time time ) |
| 771 | { |
| 772 | for( auto it = m_curveSets.begin(); it != m_curveSets.end(); it++ ) |
| 773 | { |
| 774 | if( ( *it )->GetName() == name ) |
| 775 | { |
| 776 | ( *it )->Update( time, time ); |
| 777 | } |
| 778 | } |
| 779 | for( auto it = m_objects.begin(); it != m_objects.end(); it++ ) |
| 780 | { |
| 781 | if( auto owner = dynamic_cast<ITr2CurveSetOwner*>( *it ) ) |
| 782 | { |
| 783 | owner->UpdateCurveSet( name, time ); |
| 784 | } |
| 785 | } |
| 786 | } |
| 787 | |
| 788 | float EveChildContainer::GetCurveSetDuration( const std::string& name ) const |
| 789 | { |