Commit 787009d0 authored by bitplane's avatar bitplane

Updated dev-cpp project, changed x loader debug messages to use _X_READER_DEBUG define

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@939 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 38a6a821
......@@ -14,6 +14,9 @@
#include "IVideoDriver.h"
#include "IReadFile.h"
#define _XREADER_DEBUG
//#define BETTER_MESHBUFFER_SPLITTING_FOR_X
namespace irr
{
namespace scene
......@@ -361,7 +364,7 @@ bool CXMeshFileLoader::parseDataObject()
return false;
// parse specific object
#ifdef _DEBUG
#ifdef _XREADER_DEBUG
os::Printer::log("debug DataObject:", objectName.c_str() );
#endif
......@@ -483,7 +486,7 @@ bool CXMeshFileLoader::parseDataObjectFrame( CSkinnedMesh::SJoint *Parent )
if (!joint)
{
#ifdef _DEBUG
#ifdef _XREADER_DEBUG
os::Printer::log("creating joint ", name.c_str());
#endif
joint=AnimatedMesh->createJoint(Parent);
......@@ -491,7 +494,7 @@ bool CXMeshFileLoader::parseDataObjectFrame( CSkinnedMesh::SJoint *Parent )
}
else
{
#ifdef _DEBUG
#ifdef _XREADER_DEBUG
os::Printer::log("using joint ", name.c_str());
#endif
if (Parent)
......@@ -505,7 +508,7 @@ bool CXMeshFileLoader::parseDataObjectFrame( CSkinnedMesh::SJoint *Parent )
{
core::stringc objectName = getNextToken();
#ifdef _DEBUG
#ifdef _XREADER_DEBUG
os::Printer::log("debug DataObject in frame:", objectName.c_str() );
#endif
......@@ -729,7 +732,7 @@ bool CXMeshFileLoader::parseDataObjectMesh(SXMesh &mesh)
{
core::stringc objectName = getNextToken();
#ifdef _DEBUG
#ifdef _XREADER_DEBUG
os::Printer::log("debug DataObject in mesh:", objectName.c_str() );
#endif
......
This diff is collapsed.
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