FIX: AseLoader is no stateless and can thus be called repeatedly.

Shut up gcc in LWOMaterial.cpp by adding an assertion, not all enumeration values handled.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@625 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2010-03-23 18:22:45 +00:00
parent c58dcee5b9
commit 63d6ca8669
3 changed files with 40 additions and 30 deletions

View File

@@ -132,6 +132,8 @@ bool LWOImporter::HandleTextures(MaterialHelper* pcMat, const TextureList& in, a
mapping = aiTextureMapping_UV;
}
break;
default:
ai_assert(false);
};
if (mapping != aiTextureMapping_UV) {