mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Remove namespace from header
Removing the "using namespace Torque" from header file to prevent issues with certain engine addons conflicting with ::UUID defined by windows and Torque::UUID defined by T3D.
This commit is contained in:
parent
c75d6feb20
commit
171a24459f
11 changed files with 14 additions and 3 deletions
|
|
@ -41,6 +41,7 @@
|
|||
#include "lighting/lightQuery.h"
|
||||
#include "console/engineAPI.h"
|
||||
|
||||
using namespace Torque;
|
||||
|
||||
bool PhysicsShape::smNoCorrections = false;
|
||||
bool PhysicsShape::smNoSmoothing = false;
|
||||
|
|
@ -240,7 +241,7 @@ void PhysicsShapeData::onRemove()
|
|||
|
||||
void PhysicsShapeData::_onResourceChanged( const Torque::Path &path )
|
||||
{
|
||||
if ( path != Path( shapeName ) )
|
||||
if ( path != Path( shapeName ) )
|
||||
return;
|
||||
|
||||
// Reload the changed shape.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue