HMP loader returns quads now, cleaned up the code a bit. Still longer than necessary.
BVH loader supports arbitrary rotation/translation orders now. Fixed a crash issue, added test models with ZYX and ZXY rotation order. Updated CREDITS. 'Beautified' pushpack/poppack. Collada loader does now also load XML files if 'COLLADA' is found in the header. Fixed path issues in several IRR test files. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@282 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -217,6 +217,9 @@ void TerragenImporter::InternReadFile( const std::string& pFile,
|
||||
// Check whether we have a mesh now
|
||||
if (pScene->mNumMeshes != 1)
|
||||
throw new ImportErrorException("TER: Unable to load terrain");
|
||||
|
||||
// Set the AI_SCENE_FLAGS_TERRAIN bit
|
||||
pScene->mFlags |= AI_SCENE_FLAGS_TERRAIN;
|
||||
}
|
||||
|
||||
#endif // !! AI_BUILD_NO_TERRAGEN_IMPORTER
|
||||
|
||||
Reference in New Issue
Block a user