-------------------------------------------------------------------------------- Description: Stops all "top level" curve sets. --------------------------------------------------------------------------------
| 554 | // Stops all "top level" curve sets. |
| 555 | // -------------------------------------------------------------------------------- |
| 556 | void EveEffectRoot2::Stop() |
| 557 | { |
| 558 | // stop curvesets owned by this effect root |
| 559 | for( auto it = m_curveSets.begin(); it != m_curveSets.end(); it++ ) |
| 560 | { |
| 561 | ( *it )->Stop(); |
| 562 | } |
| 563 | |
| 564 | // stop curvesets on children owned by this effect root |
| 565 | for( auto cit = m_effectChildren.begin(); cit != m_effectChildren.end(); cit++ ) |
| 566 | { |
| 567 | if( auto child = dynamic_cast<ITr2CurveSetOwner*>( *cit ) ) |
| 568 | { |
| 569 | child->StopAllCurveSets(); |
| 570 | } |
| 571 | } |
| 572 | } |
| 573 | |
| 574 | |
| 575 | // -------------------------------------------------------------------------------- |
no test coverage detected