| 902 | } |
| 903 | |
| 904 | void TSStatic::onScaleChanged() |
| 905 | { |
| 906 | Parent::onScaleChanged(); |
| 907 | |
| 908 | if (mPhysicsRep) |
| 909 | { |
| 910 | // If the editor is enabled delay the scale operation |
| 911 | // by a few milliseconds so that we're not rebuilding |
| 912 | // during an active scale drag operation. |
| 913 | if (gEditingMission) |
| 914 | mPhysicsRep->queueCallback(500, Delegate<void()>(this, &TSStatic::_updatePhysics)); |
| 915 | else |
| 916 | _updatePhysics(); |
| 917 | } |
| 918 | |
| 919 | setMaskBits(ScaleMask); |
| 920 | } |
| 921 | |
| 922 | void TSStatic::setTransform(const MatrixF& mat) |
| 923 | { |
nothing calls this directly
no test coverage detected