fix error reporting
This commit is contained in:
@@ -72,7 +72,7 @@ void Model::Load( CString sFile )
|
|||||||
LoadFromModelFile( sFile );
|
LoadFromModelFile( sFile );
|
||||||
}
|
}
|
||||||
|
|
||||||
#define THROW RageException::Throw( "Parse at line %d: '%s'", sLine.c_str() );
|
#define THROW RageException::Throw( "Parse error in \"%s\" at line %d: '%s'", sPath.c_str(), iLineNum, sLine.c_str() );
|
||||||
|
|
||||||
void Model::LoadFromModelFile( CString sPath )
|
void Model::LoadFromModelFile( CString sPath )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ void RageModelGeometry::OptimizeBones()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#define THROW RageException::Throw( "Parse at line %d: '%s'", sLine.c_str() );
|
#define THROW RageException::Throw( "Parse error in \"%s\" at line %d: '%s'", sPath.c_str(), iLineNum, sLine.c_str() );
|
||||||
|
|
||||||
void RageModelGeometry::LoadMilkshapeAscii( CString sPath )
|
void RageModelGeometry::LoadMilkshapeAscii( CString sPath )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user