Browse Source

Fixed uninitialized shadow batch zone.

Lasse Öörni 14 years ago
parent
commit
929a37f782
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Engine/Graphics/View.cpp

+ 1 - 0
Engine/Graphics/View.cpp

@@ -582,6 +582,7 @@ void View::GetBatches()
                         
                         // Fill the rest of the batch
                         shadowBatch.camera_ = shadowCamera;
+                        shadowBatch.zone_ = GetZone(drawable);
                         shadowBatch.lightQueue_ = &lightQueue;
                         
                         FinalizeBatch(shadowBatch, tech, pass);