-------------------------------------------------------------------------------- Description: Play curve sets with the appropriate name if they exist. --------------------------------------------------------------------------------
| 425 | // Play curve sets with the appropriate name if they exist. |
| 426 | // -------------------------------------------------------------------------------- |
| 427 | void EveTransform::PlayCurveSet( const std::string& name, const std::string& rangeName ) |
| 428 | { |
| 429 | for( auto it = m_curveSets.begin(); it != m_curveSets.end(); it++ ) |
| 430 | { |
| 431 | if( ( *it )->GetName() == name ) |
| 432 | { |
| 433 | if( rangeName.empty() ) |
| 434 | { |
| 435 | ( *it )->ResetTimeRange(); |
| 436 | ( *it )->Play(); |
| 437 | } |
| 438 | else |
| 439 | { |
| 440 | ( *it )->PlayTimeRange( rangeName.c_str() ); |
| 441 | } |
| 442 | } |
| 443 | } |
| 444 | } |
| 445 | |
| 446 | // -------------------------------------------------------------------------------- |
| 447 | // Description: |
no test coverage detected