From fd2e06bb84fa6320d14f9e2910b5f912bf717440 Mon Sep 17 00:00:00 2001 From: pkuzic Date: Fri, 25 Sep 2026 16:09:41 +0100 Subject: [PATCH] MONKEY (integration): weld the wind preset observer Foliage wind is a lighting-preset member but bypasses VideoConfig. Read back its world resource in the shared preset clamp test so the merged row is covered like every other member. Co-Authored-By: GPT-5.6 Sol (Codex) --- crates/benilla-app/src/cvars.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/benilla-app/src/cvars.rs b/crates/benilla-app/src/cvars.rs index 7282bd80..c32d78c5 100644 --- a/crates/benilla-app/src/cvars.rs +++ b/crates/benilla-app/src/cvars.rs @@ -3224,6 +3224,10 @@ mod tests { "bloom" => video.bloom as f32, "sunShafts" => video.sun_shafts as u32 as f32, "colorGrading" => video.color_grading as u32 as f32, + // MONKEY (integration): wind is bridged directly to its world resource rather + // than through VideoConfig, but it is still a preset member and needs the same + // real-observer clamp weld as every VideoConfig-backed row above. + "foliageWind" => res::(&app).0 as f32, "lavaLightGain" => video.lava_light_gain, "fireLightGain" => video.fire_light_gain, "moonShadowStrength" => video.moon_shadow_strength,