Fixes vertex weight assignments.

Adds upaxis override option to match collada importer.
This commit is contained in:
OTHGMars 2019-03-27 12:46:43 -04:00
parent 2d795b2493
commit bc722a353d
4 changed files with 100 additions and 65 deletions

View file

@ -40,6 +40,7 @@ class AssimpAppMesh : public AppMesh
protected:
class AssimpAppNode* appNode; ///< Pointer to the node that owns this mesh
const struct aiMesh* mMeshData;
bool mIsSkinMesh;
public:
@ -100,7 +101,7 @@ public:
/// Return true if this mesh is a skin
bool isSkin()
{
return false;
return mIsSkinMesh;
}
/// Generate the vertex, normal and triangle data for the mesh.