feedback for *which* namespace is already linked. should probably look into enhancing assertwarn to be able to take a formatted string at some point...

This commit is contained in:
Azaezel 2014-12-22 11:05:00 -06:00
parent 450a6c6c80
commit 793d7bf856

View file

@ -1407,7 +1407,8 @@ 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 != NULL)
Con::warnf("SimObject::linkNamespaces -- Namespace linkage already in place %s", mNameSpace->getName());
if( mNameSpace )
return;