| 138 | } |
| 139 | |
| 140 | void Decal::OnDisable() |
| 141 | { |
| 142 | #if USE_EDITOR |
| 143 | GetSceneRendering()->RemoveViewportIcon(this); |
| 144 | #endif |
| 145 | GetSceneRendering()->RemoveActor(this, _sceneRenderingKey); |
| 146 | |
| 147 | // Base |
| 148 | Actor::OnDisable(); |
| 149 | } |
| 150 | |
| 151 | void Decal::OnTransformChanged() |
| 152 | { |
nothing calls this directly
no test coverage detected