| 333 | } |
| 334 | |
| 335 | void EveSOF::SetupEffects( EveSpaceObject2Ptr obj, IEveEffectChildrenOwnerPtr childContainer, const EveSOFDNAPtr dna, const std::vector<Matrix>& offsets, uint32_t buildFlags ) const |
| 336 | { |
| 337 | if( !dna->UsingSof6() ) |
| 338 | { |
| 339 | // children, animations and particles |
| 340 | SetupChildrenAndAnimations( obj, childContainer, dna, offsets, buildFlags ); |
| 341 | } |
| 342 | else |
| 343 | { |
| 344 | // children from childsets |
| 345 | SetupEffectChildren( obj, childContainer, dna, offsets, buildFlags ); |
| 346 | } |
| 347 | } |
| 348 | |
| 349 | |
| 350 | // -------------------------------------------------------------------------------- |