From b3cba1b726e8ca1e5d766961efab8c95c280ba39 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 12 Feb 2005 18:03:04 +0000 Subject: [PATCH] remove old hack per stepmania-devs post; model code shouldn't be loading character.ini --- stepmania/src/RageModelGeometry.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/stepmania/src/RageModelGeometry.cpp b/stepmania/src/RageModelGeometry.cpp index 9f32f4f1db..cf46b236d8 100644 --- a/stepmania/src/RageModelGeometry.cpp +++ b/stepmania/src/RageModelGeometry.cpp @@ -85,15 +85,6 @@ void RageModelGeometry::LoadMilkshapeAscii( const CString& _sPath, bool bNeedsNo RageVec3ClearBounds( m_vMins, m_vMaxs ); - float fXScale = 1, fYScale = 1, fZScale = 1; - IniFile ini; - if( ini.ReadFile( sDir+"character.ini" ) ) - { - ini.GetValue( "Attributes", "ScaleX", fXScale ); - ini.GetValue( "Attributes", "ScaleY", fYScale ); - ini.GetValue( "Attributes", "ScaleZ", fZScale ); - } - while( f.GetLine( sLine ) > 0 ) { iLineNum++; @@ -167,11 +158,6 @@ void RageModelGeometry::LoadMilkshapeAscii( const CString& _sPath, bool bNeedsNo THROW } - // Scale vectors: - v.p[0] = v.p[0]*fXScale; - v.p[1] = v.p[1]*fYScale; - v.p[2] = v.p[2]*fZScale; - // vertex.nFlags = nFlags; if( nFlags & 1 ) v.TextureMatrixScale.x = 0;