Changeset 1070 for GTP/trunk/Lib/Geom/shared/GTGeometry/src/GeoMesh.cpp
- Timestamp:
- 06/30/06 14:22:34 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GTGeometry/src/GeoMesh.cpp
r1009 r1070 514 514 } 515 515 516 // Shared bones. 517 if (!mSubMesh[i].mBones.empty()) 518 { 519 for (unsigned int j = 0; j < mSubMesh[i].mBones.size(); j++) 520 { 521 mesh->mBones.push_back(mSubMesh[i].mBones[j]); 522 523 mesh->mBones.back().vertexIndex += acumVerts; 524 } 525 } 526 516 527 acumVerts += long(mSubMesh[i].mVertexBuffer->mVertexCount); 517 518 // Copy submesh bones.519 if (!mSubMesh[i].mBones.empty())520 {521 for (unsigned int j = 0; j < mSubMesh[i].mBones.size(); j++)522 {523 mesh->mSubMesh[i].mBones.push_back(mSubMesh[i].mBones[j]);524 }525 }526 527 528 } 528 529 … … 535 536 } 536 537 538 /* 537 539 // Copy mesh bones. 538 540 if (!mBones.empty()) … … 543 545 } 544 546 } 547 */ 545 548 546 549 return mesh;
Note: See TracChangeset
for help on using the changeset viewer.