diff options
Diffstat (limited to 'indra/llinventory/llsettingswater.h')
-rw-r--r-- | indra/llinventory/llsettingswater.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/indra/llinventory/llsettingswater.h b/indra/llinventory/llsettingswater.h index 642f86a9d6..acae903e92 100644 --- a/indra/llinventory/llsettingswater.h +++ b/indra/llinventory/llsettingswater.h @@ -76,22 +76,22 @@ public: setValue(SETTING_BLUR_MULTIPILER, val); } - LLColor3 getWaterFogColor() const + LLColor3 getFogColor() const { return LLColor3(mSettings[SETTING_FOG_COLOR]); } - void setWaterFogColor(LLColor3 val) + void setFogColor(LLColor3 val) { setValue(SETTING_FOG_COLOR, val); } - F32 getWaterFogDensity() const + F32 getFogDensity() const { return mSettings[SETTING_FOG_DENSITY].asReal(); } - void setWaterFogDensity(F32 val) + void setFogDensity(F32 val) { setValue(SETTING_FOG_DENSITY, val); } @@ -211,6 +211,8 @@ public: static LLSD translateLegacySettings(LLSD legacy); + virtual LLSettingsBase::ptr_t buildDerivedClone() override { return buildClone(); } + protected: static const std::string SETTING_LEGACY_BLUR_MULTIPILER; static const std::string SETTING_LEGACY_FOG_COLOR; |