From 02cf9774e814b91f78b165de8f150dada3941658 Mon Sep 17 00:00:00 2001 From: Stuart Buchanan Date: Sun, 7 Aug 2011 11:42:39 +0100 Subject: [PATCH] Add property binding for 3D cloud wrapping. Note that this relies on SimGear commmit 410c5ae --- src/Environment/environment_mgr.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Environment/environment_mgr.cxx b/src/Environment/environment_mgr.cxx index 0f1b201df..2eaaa8e7f 100644 --- a/src/Environment/environment_mgr.cxx +++ b/src/Environment/environment_mgr.cxx @@ -219,6 +219,10 @@ FGEnvironmentMgr::bind () &SGSky::get_3dCloudVisRange, &SGSky::set_3dCloudVisRange); + _tiedProperties.Tie("clouds3d-wrap", thesky, + &SGSky::get_3dCloudWrap, + &SGSky::set_3dCloudWrap); + // _tiedProperties.Tie("lightning-enable", &sgEnviro, // &SGEnviro::get_lightning_enable_state, // &SGEnviro::set_lightning_enable_state);