--------------------------------------------------------------------------------
| 899 | |
| 900 | // -------------------------------------------------------------------------------- |
| 901 | void EveEffectRoot2::AddToEffectChildrenList( IEveSpaceObjectChild* child ) |
| 902 | { |
| 903 | if( IsInRegistry() && m_display ) |
| 904 | { |
| 905 | if( EveEntityPtr entity = BlueCastPtr( child->GetRootObject() ) ) |
| 906 | { |
| 907 | entity->Register( GetComponentRegistry() ); |
| 908 | } |
| 909 | } |
| 910 | m_effectChildren.Append( child->GetRootObject() ); |
| 911 | } |
| 912 | |
| 913 | // -------------------------------------------------------------------------------- |
| 914 | void EveEffectRoot2::RemoveFromEffectChildrenList( IEveSpaceObjectChild* child ) |