mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-01 23:17:56 +01:00
Rebase onto feat/gl46-migration: the code of the base the replayed hunks covered, back
The rebase replayed the hunks of this branch over the ones of feat/gl46-migration where both touched the same lines; this brings back what of the base they covered: the null renderer, the black box of the camera, the opaque text displays, the motion blur of the free camera (OpenGL 4.6 and Vulkan), the scenario loader catching std::exception. The log keeps off the console in test mode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BqfRrTiBDaAyQ2gT6ZrnZD
This commit is contained in:
@@ -349,6 +349,17 @@ bool driver_mode::update()
|
||||
simulation::Lights.update();
|
||||
Timer::subsystem.sim_lights.stop();
|
||||
simulation::Deer.update(deltatime);
|
||||
{
|
||||
// where the user looks from, for the black box
|
||||
auto const &camera{DebugCameraFlag ? DebugCamera : Camera};
|
||||
auto const mode{DebugCameraFlag ? blackbox::camera_modes::debug :
|
||||
false == FreeFlyModeFlag ? blackbox::camera_modes::cab :
|
||||
m_externalview ? blackbox::camera_modes::external :
|
||||
blackbox::camera_modes::free};
|
||||
simulation::Blackbox.camera(blackbox_camera(camera, mode, mode == blackbox::camera_modes::external ? m_externalviewmode : 0),
|
||||
DebugCameraFlag ? nullptr : camera.m_owner);
|
||||
}
|
||||
simulation::Blackbox.update(deltatime);
|
||||
|
||||
if (Global.test.enabled && simulation::is_ready)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user