Integrating github/staging through commit ab87ed9
This commit is contained in:
@@ -1545,8 +1545,6 @@ namespace ProcessSkinningHelpers
|
||||
vmax = i2;
|
||||
}
|
||||
}
|
||||
uint32 a = pMesh->m_subsets[m].nFirstVertId;
|
||||
uint32 b = pMesh->m_subsets[m].nNumVerts;
|
||||
if (pMesh->m_subsets[m].nFirstVertId != vmin ||
|
||||
pMesh->m_subsets[m].nNumVerts != vmax - vmin + 1)
|
||||
{
|
||||
@@ -2255,7 +2253,9 @@ bool CLoaderCGF::ProcessSkinning()
|
||||
//init internal morph-targets
|
||||
MorphTargets* pMorphtarget = pSkinningInfo->m_arrMorphTargets[it];
|
||||
uint32 numMorphVerts = pMorphtarget->m_arrIntMorph.size();
|
||||
#if !defined(NDEBUG)
|
||||
uint32 intVertexCount = pSkinningInfo->m_arrIntVertices.size();
|
||||
#endif
|
||||
for (uint32 i = 0; i < numMorphVerts; i++)
|
||||
{
|
||||
uint32 idx = pMorphtarget->m_arrIntMorph[i].nVertexId;
|
||||
@@ -3982,7 +3982,8 @@ bool CLoaderCGF::LoadFoliageInfoChunk(IChunkFile::ChunkDesc* pChunkDesc)
|
||||
|
||||
SFoliageInfoCGF& fi = *m_pCGF->GetFoliageInfo();
|
||||
bool isSkinned = m_pCGF->GetExportInfo()->bSkinnedCGF;
|
||||
if (fi.nSpines = chunk.nSpines)
|
||||
fi.nSpines = chunk.nSpines;
|
||||
if (fi.nSpines)
|
||||
{
|
||||
fi.nSkinnedVtx = chunk.nSkinnedVtx;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user