BGE: Fix animations when using VBOs
This commit is contained in:
parent
0bcbbb1ee3
commit
11e4558313
|
@ -153,7 +153,10 @@ void BL_SkinDeformer::Relink(CTR_Map<class CTR_HashedPtr, void*>*map)
|
|||
bool BL_SkinDeformer::Apply(RAS_IPolyMaterial *mat)
|
||||
{
|
||||
// We do everything in UpdateInternal() now so we can thread it.
|
||||
return false;
|
||||
// All that is left is telling the rasterizer if we've changed the mesh
|
||||
bool retval = !m_poseApplied;
|
||||
m_poseApplied = true;
|
||||
return retval;
|
||||
}
|
||||
|
||||
RAS_Deformer *BL_SkinDeformer::GetReplica()
|
||||
|
@ -359,6 +362,8 @@ bool BL_SkinDeformer::UpdateInternal(bool shape_applied)
|
|||
|
||||
UpdateTransverts();
|
||||
|
||||
m_poseApplied = false;
|
||||
|
||||
/* indicate that the m_transverts and normals are up to date */
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue