Put debug output into debug mode.

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@898 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
hybrid 2007-09-04 22:23:51 +00:00
parent c69b9eaa8f
commit 71c0158b7c

View File

@ -366,8 +366,9 @@ bool CXMeshFileLoader::parseDataObject()
return false;
// parse specific object
#ifdef _DEBUG
os::Printer::log("debug DataObject:", objectName.c_str() );
#endif
if (objectName == "template")
return parseDataObjectTemplate();
@ -508,7 +509,9 @@ bool CXMeshFileLoader::parseDataObjectFrame( CSkinnedMesh::SJoint *Parent )
{
core::stringc objectName = getNextToken();
#ifdef _DEBUG
os::Printer::log("debug DataObject in frame:", objectName.c_str() );
#endif
if (objectName.size() == 0)
{
@ -738,7 +741,9 @@ bool CXMeshFileLoader::parseDataObjectMesh(SXMesh &mesh)
{
core::stringc objectName = getNextToken();
#ifdef _DEBUG
os::Printer::log("debug DataObject in mesh:", objectName.c_str() );
#endif
if (objectName.size() == 0)
{