Complement to bug fix #8869: crash with alpha mesh

This commit is contained in:
2008-05-01 12:35:21 +00:00
parent 5fc05184c8
commit eef2b7e125

View File

@@ -113,6 +113,7 @@ void RAS_BucketManager::RenderAlphaBuckets(
std::multiset< alphamesh, backtofront>::iterator msit = alphameshset.begin();
for (; msit != alphameshset.end(); ++msit)
{
rendertools->SetClientObject((*(*msit).m_ms).m_clientObj);
while ((*msit).m_bucket->ActivateMaterial(cameratrans, rasty, rendertools, drawingmode))
(*msit).m_bucket->RenderMeshSlot(cameratrans, rasty, rendertools, *(*msit).m_ms, drawingmode);
}