From 6317faf376eff741da67ec6b4227394c9f67ab68 Mon Sep 17 00:00:00 2001 From: mfranz Date: Thu, 23 Mar 2006 16:48:45 +0000 Subject: [PATCH] Vassilii KHACHATUROV: read rain settings from property node (preferences.xml) --- src/Environment/environment_mgr.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Environment/environment_mgr.cxx b/src/Environment/environment_mgr.cxx index e299a4942..c0d7ae5f9 100644 --- a/src/Environment/environment_mgr.cxx +++ b/src/Environment/environment_mgr.cxx @@ -189,6 +189,7 @@ FGEnvironmentMgr::bind () fgTie("/environment/turbulence/use-cloud-turbulence", &sgEnviro, &SGEnviro::get_turbulence_enable_state, &SGEnviro::set_turbulence_enable_state); + sgEnviro.config(fgGetNode("/sim/rendering/precipitation")); } void