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

@@ -583,32 +583,43 @@ void ValidateDSProcess::Validate( const aiAnimation* pAnimation)
void ValidateDSProcess::SearchForInvalidTextures(const aiMaterial* pMaterial,
aiTextureType type)
{
const char* szType;
const char* szType = NULL;
switch (type)
{
case aiTextureType_DIFFUSE:
szType = "Diffuse";break;
szType = "Diffuse";
break;
case aiTextureType_SPECULAR:
szType = "Specular";break;
szType = "Specular";
break;
case aiTextureType_AMBIENT:
szType = "Ambient";break;
szType = "Ambient";
break;
case aiTextureType_EMISSIVE:
szType = "Emissive";break;
szType = "Emissive";
break;
case aiTextureType_OPACITY:
szType = "Opacity";break;
szType = "Opacity";
break;
case aiTextureType_SHININESS:
szType = "Shininess";break;
szType = "Shininess";
break;
case aiTextureType_NORMALS:
szType = "Normals";break;
szType = "Normals";
break;
case aiTextureType_HEIGHT:
szType = "Height";break;
szType = "Height";
break;
default:
break;
};
// ****************************************************************************