mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-07 06:20:40 +00:00
Fix for DTS Vertex Paint and 2nd UV with LODs
Fix game from https://github.com/GarageGames/Torque3D/issues/230
This commit is contained in:
parent
1923838f63
commit
7e4cbc56f5
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue