| 744 | } |
| 745 | |
| 746 | void EveChildContainer::StopCurveSet( const std::string& name ) |
| 747 | { |
| 748 | if( !IsUpdating() ) |
| 749 | { |
| 750 | return; |
| 751 | } |
| 752 | |
| 753 | for( auto it = m_curveSets.begin(); it != m_curveSets.end(); it++ ) |
| 754 | { |
| 755 | if( ( *it )->GetName() == name ) |
| 756 | { |
| 757 | ( *it )->Stop(); |
| 758 | } |
| 759 | } |
| 760 | |
| 761 | for( auto it = m_objects.begin(); it != m_objects.end(); it++ ) |
| 762 | { |
| 763 | if( auto owner = dynamic_cast<ITr2CurveSetOwner*>( *it ) ) |
| 764 | { |
| 765 | owner->StopCurveSet( name ); |
| 766 | } |
| 767 | } |
| 768 | } |
| 769 | |
| 770 | void EveChildContainer::UpdateCurveSet( const std::string& name, Be::Time time ) |
| 771 | { |