diff options
author | Graham Linden <graham@lindenlab.com> | 2018-08-22 23:02:16 +0100 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2018-08-22 23:02:16 +0100 |
commit | f45edabe478eb2e5ed899377f541875cbd566977 (patch) | |
tree | 35312453eaeb9f327388464e4741c392408f07ef /indra/newview/llsky.cpp | |
parent | 3b9e6636e5e0ab9d29d4fa97a7babe024de0af82 (diff) |
MAINT-9026 hook up sun/moon scale to settingsvo and render code
Diffstat (limited to 'indra/newview/llsky.cpp')
-rw-r--r-- | indra/newview/llsky.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/indra/newview/llsky.cpp b/indra/newview/llsky.cpp index 9c7fc225a0..0740878901 100644 --- a/indra/newview/llsky.cpp +++ b/indra/newview/llsky.cpp @@ -129,6 +129,22 @@ void LLSky::resetVertexBuffers() } } +void LLSky::setSunScale(F32 sun_scale) +{ + if(mVOSkyp.notNull()) + { + mVOSkyp->setSunScale(sun_scale); + } +} + +void LLSky::setMoonScale(F32 moon_scale) +{ + if(mVOSkyp.notNull()) + { + mVOSkyp->setMoonScale(moon_scale); + } +} + void LLSky::setSunTextures(const LLUUID& sun_texture, const LLUUID& sun_texture_next) { if(mVOSkyp.notNull()) { |