mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Merge pull request #1175 from Azaezel/linkNamespacesDebugOutput
feedback for *which* namespace is already linked.
This commit is contained in:
commit
7d4aeb8779
1 changed files with 4 additions and 3 deletions
|
|
@ -1407,10 +1407,11 @@ void SimObject::linkNamespaces()
|
|||
// while still having the class namespace fields matching the current
|
||||
// setup.
|
||||
|
||||
AssertWarn( mNameSpace == NULL, "SimObject::linkNamespaces -- Namespace linkage already in place" );
|
||||
if( mNameSpace )
|
||||
if (mNameSpace)
|
||||
{
|
||||
Con::warnf("SimObject::linkNamespaces -- Namespace linkage already in place %s", mNameSpace->getName());
|
||||
return;
|
||||
|
||||
}
|
||||
// Get the namespace for the C++ class.
|
||||
|
||||
Namespace* cppNamespace = getClassRep()->getNameSpace();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue