summaryrefslogtreecommitdiff
path: root/indra/newview/llsettingswater.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llsettingswater.cpp')
-rw-r--r--indra/newview/llsettingswater.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llsettingswater.cpp b/indra/newview/llsettingswater.cpp
index babaa0b218..52448bd4af 100644
--- a/indra/newview/llsettingswater.cpp
+++ b/indra/newview/llsettingswater.cpp
@@ -195,6 +195,17 @@ LLSettingsWater::ptr_t LLSettingsWater::buildClone()
return skyp;
}
+LLSettingsBase::ptr_t LLSettingsWater::blend(const LLSettingsBase::ptr_t &end, F32 blendf) const
+{
+ LLSettingsWater::ptr_t other = boost::static_pointer_cast<LLSettingsWater>(end);
+ LLSD blenddata = interpolateSDMap(mSettings, other->mSettings, blendf);
+
+ LLSettingsWater::ptr_t waterp = boost::make_shared<LLSettingsWater>(blenddata);
+
+ return waterp;
+}
+
+
//=========================================================================
LLSettingsWater::parammapping_t LLSettingsWater::getParameterMap() const