mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Fix mesh load issue & merge issue
This commit is contained in:
parent
41dfb64210
commit
e7db0d7956
4 changed files with 7 additions and 5 deletions
|
|
@ -3119,9 +3119,9 @@ void TSMesh::copySourceVertexDataFrom(const TSMesh* srcMesh)
|
|||
tverts.setSize(srcMesh->mNumVerts);
|
||||
norms.setSize(srcMesh->mNumVerts);
|
||||
|
||||
if (hasTVert2)
|
||||
colors.setSize(mNumVerts);
|
||||
if (hasColor)
|
||||
colors.setSize(mNumVerts);
|
||||
if (hasTVert2)
|
||||
tverts2.setSize(mNumVerts);
|
||||
|
||||
// Fill arrays
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue