diff --git a/stepmania/src/RageModelGeometry.cpp b/stepmania/src/RageModelGeometry.cpp index 70944505fe..3183728c55 100644 --- a/stepmania/src/RageModelGeometry.cpp +++ b/stepmania/src/RageModelGeometry.cpp @@ -183,6 +183,10 @@ void RageModelGeometry::LoadMilkshapeAscii( const CString& _sPath, bool bNeedsNo //Ym2413a Added: End // vertex.nFlags = nFlags; + if( nFlags & 1 ) + v.TextureMatrixScale.x = 0; + if( nFlags & 2 ) + v.TextureMatrixScale.y = 0; v.bone = (uint8_t) nIndex; RageVec3AddToBounds( v.p, m_vMins, m_vMaxs ); } diff --git a/stepmania/src/RageTypes.h b/stepmania/src/RageTypes.h index 05cc5d43d0..3757d21433 100644 --- a/stepmania/src/RageTypes.h +++ b/stepmania/src/RageTypes.h @@ -237,12 +237,14 @@ struct RageModelVertex // doesn't have color. Relies on material color RageModelVertex(): p(0,0,0), n(0,0,0), - t(0,0) + t(0,0), + TextureMatrixScale(1,1) { } RageVector3 p; // position RageVector3 n; // normal RageVector2 t; // texture coordinates int8_t bone; + RageVector2 TextureMatrixScale; // usually 1,1 };