mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Fix load with DTS shapes introduced with HW skinning changes
This commit is contained in:
parent
26241020ff
commit
12019173af
5 changed files with 85 additions and 18 deletions
|
|
@ -3429,8 +3429,8 @@ void TSBasicVertexFormat::addMeshRequirements(TSMesh *mesh)
|
|||
bool hasTexcoord2 = false;
|
||||
bool hasSkin = false;
|
||||
|
||||
hasColors = mesh->getHasColor() || (texCoordOffset != -1);
|
||||
hasTexcoord2 = mesh->getHasTVert2() || (colorOffset != -1);
|
||||
hasColors = mesh->getHasColor() || (colorOffset != -1);
|
||||
hasTexcoord2 = mesh->getHasTVert2() || (texCoordOffset != -1);
|
||||
hasSkin = (mesh->getMeshType() == TSMesh::SkinMeshType) || (boneOffset != -1);
|
||||
|
||||
S32 offset = sizeof(TSMesh::__TSMeshVertexBase);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue