From c4dc73db96d3572153613f5440967c4477ca2b14 Mon Sep 17 00:00:00 2001 From: SirSicard Date: Tue, 10 Nov 2026 19:27:28 +0100 Subject: [PATCH 1/2] fix(log): a 3D camera that is the shadow LOD origin, and bevy_time's warning filtered Every 3D run with a point or spot light warned that no entity has ShadowLodOrigin (the scene camera draws into an image, so Bevy picked one arbitrarily): the scene camera now carries the marker. bevy_time's "did not receive the time from the render world" (raea drives Time by frame, with the render world in step) is filtered out of stderr, in Bevy's log filter and in raea_io_trace's logger; the event log keeps every record. Measured on main 5b2c7731: a 3D still with a point light printed the ShadowLodOrigin warning, now nothing; a 2D still printed bevy_time's line, now not. The 54 dropped bevy_ecs CommandQueue lines on a 2D still are left as they are: their source still needs finding. Part of #89 Co-Authored-By: Claude Opus 5.5 --- engine/render/src/engine/open.rs | 4 +++- engine/render/src/engine/spawn.rs | 3 +++ io/trace/src/lib.rs | 4 +++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/engine/render/src/engine/open.rs b/engine/render/src/engine/open.rs index 2c12f9f1..9bd15533 100644 --- a/engine/render/src/engine/open.rs +++ b/engine/render/src/engine/open.rs @@ -46,7 +46,9 @@ impl Engine { // quiet on a good run: bevy_log's "Could not set global logger" (raea_io_trace owns `log` in a play // or a render, and its records go there, as meant) and a pass-timing readback that missed a frame // (RenderDiagnosticsPlugin's "Failed to download render statistics buffer": one second's bevy_passes lost) - .set(bevy::log::LogPlugin { level: bevy::log::Level::WARN, filter: format!("{}bevy_log=off,bevy_asset::io::web=error,bevy_asset::io::source=error,fontdb=error,bevy_render::diagnostic::internal=error", bevy::log::DEFAULT_FILTER), ..default() }) + // and bevy_time's "did not receive the time from the render world" (raea drives Time by frame, with the + // render world in step on this thread) + .set(bevy::log::LogPlugin { level: bevy::log::Level::WARN, filter: format!("{}bevy_log=off,bevy_asset::io::web=error,bevy_asset::io::source=error,fontdb=error,bevy_render::diagnostic::internal=error,bevy_time=error", bevy::log::DEFAULT_FILTER), ..default() }) // glTF models (scene3d) load from the paths their rows name, which are the edit's files wherever they are. // Hot reload (Bevy's file_watcher, in the bevy-all build) only when asked, RAEA_BEVY_WATCH=1: a render or a // baked play reloading an asset mid-run would draw frames that a render alone doesn't diff --git a/engine/render/src/engine/spawn.rs b/engine/render/src/engine/spawn.rs index 68f891a4..fc945d08 100644 --- a/engine/render/src/engine/spawn.rs +++ b/engine/render/src/engine/spawn.rs @@ -59,6 +59,9 @@ pub(crate) fn spawn_camera(world: &mut World, e: Entity, vals: &BTreeMap Date: Wed, 11 Nov 2026 12:09:21 +0100 Subject: [PATCH 2/2] check: keep raea-render under the size cap The two new comments said in five lines what fits in three; raea-render was 2 lines over tools/size.sh's 2,000-line crate limit. Co-Authored-By: Claude Opus 5.5 --- engine/render/src/engine/open.rs | 3 +-- engine/render/src/engine/spawn.rs | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/engine/render/src/engine/open.rs b/engine/render/src/engine/open.rs index 9bd15533..b5daf6a2 100644 --- a/engine/render/src/engine/open.rs +++ b/engine/render/src/engine/open.rs @@ -46,8 +46,7 @@ impl Engine { // quiet on a good run: bevy_log's "Could not set global logger" (raea_io_trace owns `log` in a play // or a render, and its records go there, as meant) and a pass-timing readback that missed a frame // (RenderDiagnosticsPlugin's "Failed to download render statistics buffer": one second's bevy_passes lost) - // and bevy_time's "did not receive the time from the render world" (raea drives Time by frame, with the - // render world in step on this thread) + // and bevy_time's "did not receive the time from the render world" (raea steps Time by frame) .set(bevy::log::LogPlugin { level: bevy::log::Level::WARN, filter: format!("{}bevy_log=off,bevy_asset::io::web=error,bevy_asset::io::source=error,fontdb=error,bevy_render::diagnostic::internal=error,bevy_time=error", bevy::log::DEFAULT_FILTER), ..default() }) // glTF models (scene3d) load from the paths their rows name, which are the edit's files wherever they are. // Hot reload (Bevy's file_watcher, in the bevy-all build) only when asked, RAEA_BEVY_WATCH=1: a render or a diff --git a/engine/render/src/engine/spawn.rs b/engine/render/src/engine/spawn.rs index fc945d08..baa42612 100644 --- a/engine/render/src/engine/spawn.rs +++ b/engine/render/src/engine/spawn.rs @@ -59,8 +59,7 @@ pub(crate) fn spawn_camera(world: &mut World, e: Entity, vals: &BTreeMap