Merge pull request #665 from andr3wmac/multiformat

Support for large lists of shape formats.
This commit is contained in:
Daniel Buckmaster 2014-07-08 14:14:54 +02:00
commit cf5d48e6ef
10 changed files with 154 additions and 20 deletions

View file

@ -50,6 +50,15 @@
#include "core/util/zip/zipVolume.h"
#include "gfx/bitmap/gBitmap.h"
MODULE_BEGIN( ColladaShapeLoader )
MODULE_INIT_AFTER( ShapeLoader )
MODULE_INIT
{
TSShapeLoader::addFormat("Collada", "dae");
TSShapeLoader::addFormat("Google Earth", "kmz");
}
MODULE_END;
//
static DAE sDAE; // Collada model database (holds the last loaded file)
static Torque::Path sLastPath; // Path of the last loaded Collada file