Ogre: TestModel added, Texture-Bug in Materialloader fixed

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1195 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
jonathanklein
2012-03-10 23:04:02 +00:00
parent 89c3aaebbc
commit 7f1e7b7d6b
6 changed files with 9739 additions and 1 deletions

View File

@@ -338,6 +338,7 @@ void OgreImporter::ReadTechnique(stringstream &ss, aiMaterial* NewMaterial)
}
else if(Line=="texture_unit")
{
getline(ss, RestOfLine);//ignore the rest of the line
ss >> Line;
if(Line!="{")
throw DeadlyImportError("empty texture unit!");