Makes it so prefabs can correctly 'export to collada' by running the buildPolyList function on it's children.

Also adds a 'Bake Selection to Mesh' option to the tools menu in the editor to export the selected mesh to a collada file, and then replaces the selection with a TSStatic.
This commit is contained in:
Areloch 2016-12-10 17:27:27 -06:00
parent 630949514a
commit 1d754cbbad
9 changed files with 244 additions and 1 deletions

View file

@ -228,6 +228,7 @@ public:
Resource<TSShape> getShape() const { return mShape; }
StringTableEntry getShapeFileName() { return mShapeName; }
void setShapeFileName(StringTableEntry shapeName) { mShapeName = shapeName; }
TSShapeInstance* getShapeInstance() const { return mShapeInstance; }