Modification of #2145 Original PR broke class-type visibility toggles in the editor, so this adjustment on the same setup keeps the optimized path, but also enables the original class-based render toggle if the editor is open. (Also adds TORQUE_TOOLS check to have it be even leaner if the project doesn't have tool support at all)
Modification of #2145
Original PR broke class-type visibility toggles in the editor, so this adjustment on the same setup keeps the optimized path, but also enables the original class-based render toggle if the editor is open.
(Also adds TORQUE_TOOLS check to have it be even leaner if the project doesn't have tool support at all)

ValtoGameEngines/Torque3D,GarageGames/Torque3D,GarageGames/Torque3D,ValtoGameEngines/Torque3D,GarageGames/Torque3D,ValtoGameEngines/Torque3D,ValtoGameEngines/Torque3D,ValtoGameEngines/Torque3D,GarageGames/Torque3D,ValtoGameEngines/Torque3D,GarageGames/Torque3D,ValtoGameEngines/Torque3D,GarageGames/Torque3D,ValtoGameEngines/Torque3D,ValtoGameEngines/Torque3D,GarageGames/Torque3D,GarageGames/Torque3D,ValtoGameEngines/Torque3D,GarageGames/Torque3D