From b41afb94c626b67888318fe286802a2694a08698 Mon Sep 17 00:00:00 2001 From: fredb Date: Fri, 19 Dec 2008 07:42:29 +0000 Subject: [PATCH] Stuart Buchanan : Attached is yet another 3D clouds patch, to fix the following: 1) The 3D clouds were not modified by the cloud coverage, due to some problems with osg::Switch 2) METAR changes to cloud coverage were not obeyed. 3) Making changes via the Cloud dialog had no effect unless 3D clouds were toggled. 4) Cloud cover was too sparse. 5) 3D Stratus clouds caused performance issues on some hardware (fixed by removing 3D stratus from cloudlayers.xml - it will now be a 2D layer). --- cloudlayers.xml | 25 +++++++++++++------------ gui/dialogs/clouds.xml | 13 +++++++++++++ 2 files changed, 26 insertions(+), 12 deletions(-) diff --git a/cloudlayers.xml b/cloudlayers.xml index 0d45ecd12..ddfc8f9f8 100644 --- a/cloudlayers.xml +++ b/cloudlayers.xml @@ -987,11 +987,11 @@ cu-con 2 - 3000.0 - 3000.0 - 1500.0 - 1500.0 - 200.0 + 2000.0 + 2000.0 + 500.0 + 500.0 + 100.0 @@ -1010,10 +1010,10 @@ cu-con 5 - 6000.0 - 6000.0 - 2000.0 - 2000.0 + 2000.0 + 2000.0 + 500.0 + 500.0 200.0 @@ -1021,13 +1021,13 @@ ac-str 1 - 2000.0 - 2000.0 + 1000.0 + 1000.0 100.0 100.0 100.0 - + sc diff --git a/gui/dialogs/clouds.xml b/gui/dialogs/clouds.xml index 7d280f4b9..dfe583c88 100644 --- a/gui/dialogs/clouds.xml +++ b/gui/dialogs/clouds.xml @@ -274,6 +274,12 @@ dialog-apply + + nasal + + dialog-close @@ -287,6 +293,13 @@ dialog-apply + + nasal + + +