mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +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
|
|
@ -732,7 +732,7 @@ void TSShape::initVertexBufferPointers()
|
|||
mesh->getMeshType() == TSMesh::SkinMeshType))
|
||||
{
|
||||
// Set buffer
|
||||
AssertFatal(mesh->mNumVerts >= mesh->vertsPerFrame, "invalid verts per frame");
|
||||
AssertFatal(mesh->mNumVerts == 0 || mesh->mNumVerts >= mesh->vertsPerFrame, "invalid verts per frame");
|
||||
if (mesh->mVertSize > 0 && !mesh->mVertexData.isReady())
|
||||
{
|
||||
U32 boneOffset = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue