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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user