mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 01:59:19 +02:00
World Streaming Part 1
This commit is contained in:
@@ -593,6 +593,11 @@ int eu07_application::run()
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// keep streamed terrain loaded around the active camera in every mode (editor + driver),
|
||||
// once the simulation is live (avoid streaming while the scenery is still loading)
|
||||
if (simulation::is_ready && EditorTerrain.active())
|
||||
EditorTerrain.update(Global.pCamera.Pos);
|
||||
|
||||
m_taskqueue.update();
|
||||
opengl_texture::reset_unit_cache();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user