Tracker ID [2485593], patch by John Connors for better Linux/Scons support.

Removed BCC55 workspace. 

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@274 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2009-01-08 22:15:05 +00:00
parent ec3200bd36
commit e48d1a4e5a
15 changed files with 40 additions and 353 deletions

View File

@@ -335,7 +335,8 @@ void MD2Importer::InternReadFile( const std::string& pFile,
// now read all triangles of the first frame, apply scaling and translation
unsigned int iCurrent = 0;
float fDivisorU,fDivisorV;
float fDivisorU = 1.0f;
float fDivisorV = 1.0f;
if (m_pcHeader->numTexCoords)
{
// allocate storage for texture coordinates, too
@@ -348,14 +349,12 @@ void MD2Importer::InternReadFile( const std::string& pFile,
{
DefaultLogger::get()->error("Skin width is zero but there are "
"valid absolute texture coordinates");
fDivisorU = 1.0f;
}
else fDivisorU = (float)m_pcHeader->skinWidth;
if (!m_pcHeader->skinHeight)
{
DefaultLogger::get()->error("Skin height is zero but there are "
"valid absolute texture coordinates ");
fDivisorV = 1.0f;
}
else fDivisorV = (float)m_pcHeader->skinHeight;
}