Ver Fonte

Removed redundant check

Klaus Silveira há 12 anos atrás
pai
commit
55cb5a6752
1 ficheiros alterados com 1 adições e 3 exclusões
  1. 1 3
      Engine/source/scene/sceneManager.cpp

+ 1 - 3
Engine/source/scene/sceneManager.cpp

@@ -156,9 +156,7 @@ void SceneManager::renderScene( ScenePassType passType, U32 objectMask )
    {
       // Store the camera state so if we lock, this will become the
       // locked state.
-
-      if( passType == SPT_Diffuse )
-         smLockedDiffuseCamera = cameraState;
+      smLockedDiffuseCamera = cameraState;
    }
    
    // Create the render state.