feat: expose light and sound processing diagnostics with isolated cameras
build / mod (push) Failing after 21s

Co-Authored-By: Codex <noreply@openai.com>
This commit is contained in:
2026-11-04 16:19:06 +03:00
parent 914f723d1f
commit c1a595b773
2 changed files with 22 additions and 2 deletions
+21 -1
View File
@@ -63,6 +63,8 @@ pub fn diagnostics() -> String {
let smoke = render::smoke_status();
let acoustic = acoustics();
let capture = render::capture_owner_status();
let lights = render::point_lights_status();
let sources = render::sound_sources_status();
let smoke_reason = match smoke.reason {
render::SmokeReason::AwaitingFrame => "awaiting-frame",
render::SmokeReason::Disabled => "disabled",
@@ -70,7 +72,7 @@ pub fn diagnostics() -> String {
render::SmokeReason::Ready => "ready",
};
[
"Возможности движка (API 27; подготовка не означает готовый GPU-кадр или файл):".into(),
"Возможности движка (API 29; подготовка не означает готовый GPU-кадр, слышимый звук или файл):".into(),
line(
"Дым",
smoke.generation,
@@ -89,6 +91,24 @@ pub fn diagnostics() -> String {
acoustic.prepared,
reason(acoustic.reason),
),
line(
"Точечный свет",
lights.generation,
lights.available,
lights.enabled,
lights.request_accepted,
lights.prepared,
reason(lights.reason),
),
line(
"Постоянные звуки",
sources.generation,
sources.available,
sources.enabled,
sources.request_accepted,
sources.prepared,
reason(sources.reason),
),
line(
"Захват этого мода",
capture.generation,
+1 -1
Submodule horizon updated: d8fa77b000...57f8b2853c