| 217 | } |
| 218 | |
| 219 | void EveStretch3::SetSourceObject( IEveSpaceObjectChild* sourceObject ) |
| 220 | { |
| 221 | auto registry = GetComponentRegistry(); |
| 222 | if( EveEntityPtr entity = BlueCastPtr( m_sourceObject ) ) |
| 223 | { |
| 224 | entity->UnRegister( registry ); |
| 225 | } |
| 226 | m_sourceObject = sourceObject; |
| 227 | if( EveEntityPtr entity = BlueCastPtr( m_sourceObject ) ) |
| 228 | { |
| 229 | entity->Register( registry ); |
| 230 | } |
| 231 | } |
| 232 | |
| 233 | IEveSpaceObjectChild* EveStretch3::GetDestObject() |
| 234 | { |
nothing calls this directly
no test coverage detected