Merge pull request #524 from DavidWyand-GG/Updates

Fix for DTS Vertex Paint and 2nd UV with LODs
This commit is contained in:
David Wyand 2013-11-05 13:55:41 -08:00
commit 425a37bf70

View file

@ -1177,6 +1177,11 @@ void TSShape::assembleShape()
{
TSMesh::smVertsList[i] = mesh->verts.address();
TSMesh::smTVertsList[i] = mesh->tverts.address();
if (smReadVersion >= 26)
{
TSMesh::smTVerts2List[i] = mesh->tverts2.address();
TSMesh::smColorsList[i] = mesh->colors.address();
}
TSMesh::smNormsList[i] = mesh->norms.address();
TSMesh::smEncodedNormsList[i] = mesh->encodedNorms.address();
TSMesh::smDataCopied[i] = !skip; // as long as we didn't skip this mesh, the data should be in shape now