add texture autogen flag

This commit is contained in:
Glenn Maynard
2007-03-25 20:49:39 +00:00
parent 43ef38383d
commit a8ee16a106
+5
View File
@@ -185,6 +185,11 @@ void RageModelGeometry::LoadMilkshapeAscii( const RString& _sPath, bool bNeedsNo
v.TextureMatrixScale.x = 0;
if( nFlags & 2 )
v.TextureMatrixScale.y = 0;
if( nFlags & 4 )
{
v.t[0] = v.p[0] / v.t[0];
v.t[1] = v.p[1] / v.t[1];
}
v.bone = (uint8_t) nIndex;
RageVec3AddToBounds( v.p, m_vMins, m_vMaxs );
}