Copy of PR #551 changed to target development.

Copy of PR https://github.com/GarageGames/Torque3D/pull/551 changed to target development.