| 1054 | } |
| 1055 | |
| 1056 | void ShapeBase::onRemove() |
| 1057 | { |
| 1058 | mConvexList->nukeList(); |
| 1059 | |
| 1060 | Parent::onRemove(); |
| 1061 | |
| 1062 | // Stop any running sounds on the client |
| 1063 | if (isGhost()) |
| 1064 | for (S32 i = 0; i < MaxSoundThreads; i++) |
| 1065 | stopAudio(i); |
| 1066 | |
| 1067 | if ( isClientObject() ) |
| 1068 | { |
| 1069 | mCubeReflector.unregisterReflector(); |
| 1070 | } |
| 1071 | } |
| 1072 | |
| 1073 | |
| 1074 | void ShapeBase::onSceneRemove() |
nothing calls this directly
no test coverage detected