summaryrefslogtreecommitdiff
path: root/indra/newview/llwaterparammanager.h
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2011-01-28 16:04:32 +0200
committerVadim ProductEngine <vsavchuk@productengine.com>2011-01-28 16:04:32 +0200
commit91f3c204b51adf9ac1775716dc20fb9d82a8c13c (patch)
tree0e5e79dd79e5c98f7dedbbc4a275b056bd7b0850 /indra/newview/llwaterparammanager.h
parent1e346e085d9af460657342f20d8fde45b6982913 (diff)
STORM-610 FIXED Changes to water color and density in the Environment Editor now persist between sessions.
However they get overriden when you switch water presets in the Advanced Water floater.
Diffstat (limited to 'indra/newview/llwaterparammanager.h')
-rw-r--r--indra/newview/llwaterparammanager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llwaterparammanager.h b/indra/newview/llwaterparammanager.h
index c479f1861c..20556926ab 100644
--- a/indra/newview/llwaterparammanager.h
+++ b/indra/newview/llwaterparammanager.h
@@ -284,6 +284,9 @@ public:
// singleton pattern implementation
static LLWaterParamManager * instance();
+private:
+ void initOverrides();
+
public:
LLWaterParamSet mCurParams;
@@ -314,6 +317,9 @@ private:
LLVector4 mWaterPlane;
F32 mWaterFogKS;
+ LLColor4 mPrevFogColor;
+ F32 mPrevFogDensity;
+
// our parameter manager singleton instance
static LLWaterParamManager * sInstance;
};