| 510 | //------------------------------------------------------------------------------ |
| 511 | |
| 512 | void fxShapeReplicator::onRemove() |
| 513 | { |
| 514 | // Remove the Replicator from the Replicator Set. |
| 515 | dynamic_cast<SimSet*>(Sim::findObject("fxReplicatorSet"))->removeObject(this); |
| 516 | |
| 517 | NetConnection::smGhostAlwaysDone.remove( this, &fxShapeReplicator::onGhostAlwaysDone ); |
| 518 | |
| 519 | removeFromScene(); |
| 520 | |
| 521 | // Destroy Shapes. |
| 522 | DestroyShapes(); |
| 523 | |
| 524 | // Do Parent. |
| 525 | Parent::onRemove(); |
| 526 | } |
| 527 | |
| 528 | //------------------------------------------------------------------------------ |
| 529 |
nothing calls this directly
no test coverage detected