diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2008-05-01 16:35:21 +0400 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2008-05-01 16:35:21 +0400 |
commit | eef2b7e1254bd02bbb4a08cd2ff49746b869a181 (patch) | |
tree | 553adba83618fc6a58c9d2b8cf646bb18953627c /source | |
parent | 5fc05184c86d6720bf0363fc5cfd09d4b6b59cac (diff) |
Complement to bug fix #8869: crash with alpha mesh
Diffstat (limited to 'source')
-rw-r--r-- | source/gameengine/Rasterizer/RAS_BucketManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/Rasterizer/RAS_BucketManager.cpp b/source/gameengine/Rasterizer/RAS_BucketManager.cpp index 6c3e89fa69d..50df1a1e2ea 100644 --- a/source/gameengine/Rasterizer/RAS_BucketManager.cpp +++ b/source/gameengine/Rasterizer/RAS_BucketManager.cpp @@ -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); } |