diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2014-07-11 09:11:25 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2014-07-11 09:14:30 +0400 |
commit | 315609ec0c1e28eb12bde3e8bbd2a5b03672b1a9 (patch) | |
tree | 66b2e264934e18944d9699e39ac81f5ba6969ef3 /source/gameengine/Ketsji/KX_KetsjiEngine.h | |
parent | d419e2e90cc3bb3fd6aa89baab8b4f4caa2001e1 (diff) |
Fix T40257: Frustum culling not working properly
This is mostly the same fix as before, but now code depending on culling
checks is executed after KX_Scene->CalculateVisibleMeshes(). As a
side-effect, LoD checks and animation culling now use the current
frame's culling information rather than the previous frame's.
Diffstat (limited to 'source/gameengine/Ketsji/KX_KetsjiEngine.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_KetsjiEngine.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_KetsjiEngine.h b/source/gameengine/Ketsji/KX_KetsjiEngine.h index 9e5d1893320..b1ac952731e 100644 --- a/source/gameengine/Ketsji/KX_KetsjiEngine.h +++ b/source/gameengine/Ketsji/KX_KetsjiEngine.h @@ -111,7 +111,6 @@ private: double m_frameTime;//discrete timestamp of the 'game logic frame' double m_clockTime;//current time double m_previousClockTime;//previous clock time - double m_previousAnimTime; //the last time animations were updated double m_remainingTime; static int m_maxLogicFrame; /* maximum number of consecutive logic frame */ |