Commit 86af24df authored by hybrid's avatar hybrid

Put debug output into debug mode.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@898 dfc29bdd-3216-0410-991c-e03cc46cb475
parent a2b4dde3
...@@ -366,8 +366,9 @@ bool CXMeshFileLoader::parseDataObject() ...@@ -366,8 +366,9 @@ bool CXMeshFileLoader::parseDataObject()
return false; return false;
// parse specific object // parse specific object
#ifdef _DEBUG
os::Printer::log("debug DataObject:", objectName.c_str() ); os::Printer::log("debug DataObject:", objectName.c_str() );
#endif
if (objectName == "template") if (objectName == "template")
return parseDataObjectTemplate(); return parseDataObjectTemplate();
...@@ -508,7 +509,9 @@ bool CXMeshFileLoader::parseDataObjectFrame( CSkinnedMesh::SJoint *Parent ) ...@@ -508,7 +509,9 @@ bool CXMeshFileLoader::parseDataObjectFrame( CSkinnedMesh::SJoint *Parent )
{ {
core::stringc objectName = getNextToken(); core::stringc objectName = getNextToken();
#ifdef _DEBUG
os::Printer::log("debug DataObject in frame:", objectName.c_str() ); os::Printer::log("debug DataObject in frame:", objectName.c_str() );
#endif
if (objectName.size() == 0) if (objectName.size() == 0)
{ {
...@@ -738,7 +741,9 @@ bool CXMeshFileLoader::parseDataObjectMesh(SXMesh &mesh) ...@@ -738,7 +741,9 @@ bool CXMeshFileLoader::parseDataObjectMesh(SXMesh &mesh)
{ {
core::stringc objectName = getNextToken(); core::stringc objectName = getNextToken();
#ifdef _DEBUG
os::Printer::log("debug DataObject in mesh:", objectName.c_str() ); os::Printer::log("debug DataObject in mesh:", objectName.c_str() );
#endif
if (objectName.size() == 0) if (objectName.size() == 0)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment