summaryrefslogtreecommitdiff
path: root/indra/newview/llenvironment.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llenvironment.h')
-rw-r--r--indra/newview/llenvironment.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llenvironment.h b/indra/newview/llenvironment.h
index 7506b37e3e..493fff1769 100644
--- a/indra/newview/llenvironment.h
+++ b/indra/newview/llenvironment.h
@@ -85,6 +85,8 @@ public:
LLSettingsSky::ptr_t getCurrentSky() const { return mCurrentSky; }
LLSettingsWater::ptr_t getCurrentWater() const { return mCurrentWater; }
+
+
void update(const LLViewerCamera * cam);
void updateGLVariablesForSettings(LLGLSLShader *shader, const LLSettingsBase::ptr_t &psetting);
@@ -92,6 +94,9 @@ public:
void addSky(const LLSettingsSky::ptr_t &sky);
void selectSky(const std::string &name);
+ LLSettingsSky::ptr_t findSkyByName(std::string name) const;
+ LLSettingsWater::ptr_t findWaterByName(std::string name) const;
+
void addWater(const LLSettingsWater::ptr_t &sky);
void selectWater(const std::string &name);