From aafe212809b6d6fb86d8b180789ebf78cac2eb64 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 12 Oct 2005 02:17:48 +0000 Subject: [PATCH] temp debug cruft --- stepmania/src/ActorUtil.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/stepmania/src/ActorUtil.cpp b/stepmania/src/ActorUtil.cpp index 29c5dc6e5e..b40d524995 100644 --- a/stepmania/src/ActorUtil.cpp +++ b/stepmania/src/ActorUtil.cpp @@ -164,6 +164,8 @@ Actor* ActorUtil::LoadFromNode( const CString& sDir, const XNode* pNode ) } Actor *pReturn = NULL; + LOG->Trace( "ActorUtil::LoadFromNode: dir %s, class %s", + sDir.c_str(), sClass.c_str() ); if( IsRegistered(sClass) ) { @@ -191,8 +193,12 @@ Actor* ActorUtil::LoadFromNode( const CString& sDir, const XNode* pNode ) } CString sNewPath = bIsAbsolutePath ? sFile : sDir+sFile; + LOG->Trace( "ActorUtil::LoadFromNode: path %s, sNewPath %s", + sFile.c_str(), sNewPath.c_str() ); ActorUtil::ResolvePath( sNewPath, sDir ); + LOG->Trace( "ActorUtil::LoadFromNode: resolved to %s", + sNewPath.c_str() ); pReturn = ActorUtil::MakeActor( sNewPath, pNode ); if( pReturn == NULL ) @@ -279,6 +285,9 @@ Actor* ActorUtil::MakeActor( const CString &sPath_, const XNode *pParent ) CString sDir = Dirname( sPath ); FileType ft = GetFileType( sPath ); + LOG->Trace( "ActorUtil::MakeActor(%s): load from \"%s\"", + sPath.c_str(), sDir.c_str() ); + switch( ft ) { case FT_Directory: