summaryrefslogtreecommitdiff
path: root/indra/llinventory
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-10-02 17:35:17 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2024-10-02 19:26:28 +0300
commit3904a15c63dbebca439ecf62f07234e1895dc93b (patch)
treeb29573e08e0b4f4529bb253d4524197f38d3f9ed /indra/llinventory
parent74fe406916a21b0ac7cecaff9549ea5e374176c8 (diff)
viewer#2705 Some sky parameters weren't updating
Diffstat (limited to 'indra/llinventory')
-rw-r--r--indra/llinventory/llsettingssky.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llinventory/llsettingssky.cpp b/indra/llinventory/llsettingssky.cpp
index 3685915ffd..ce6244d038 100644
--- a/indra/llinventory/llsettingssky.cpp
+++ b/indra/llinventory/llsettingssky.cpp
@@ -1995,6 +1995,7 @@ F32 LLSettingsSky::getCloudShadow() const
void LLSettingsSky::setCloudShadow(F32 val)
{
mCloudShadow = val;
+ setDirtyFlag(true);
setLLSDDirty();
}
@@ -2051,6 +2052,7 @@ F32 LLSettingsSky::getMaxY() const
void LLSettingsSky::setMaxY(F32 val)
{
mMaxY = val;
+ setDirtyFlag(true);
setLLSDDirty();
}
@@ -2062,6 +2064,7 @@ LLQuaternion LLSettingsSky::getMoonRotation() const
void LLSettingsSky::setMoonRotation(const LLQuaternion &val)
{
mMoonRotation = val;
+ setDirtyFlag(true);
setLLSDDirty();
}
@@ -2073,6 +2076,7 @@ F32 LLSettingsSky::getMoonScale() const
void LLSettingsSky::setMoonScale(F32 val)
{
mMoonScale = val;
+ setDirtyFlag(true);
setLLSDDirty();
}
@@ -2095,6 +2099,7 @@ F32 LLSettingsSky::getMoonBrightness() const
void LLSettingsSky::setMoonBrightness(F32 brightness_factor)
{
mMoonBrightness = brightness_factor;
+ setDirtyFlag(true);
setLLSDDirty();
}
@@ -2131,6 +2136,7 @@ LLColor3 LLSettingsSky::getSunlightColorClamped() const
void LLSettingsSky::setSunlightColor(const LLColor3 &val)
{
mSunlightColor = val;
+ setDirtyFlag(true);
setLLSDDirty();
}
@@ -2142,6 +2148,7 @@ LLQuaternion LLSettingsSky::getSunRotation() const
void LLSettingsSky::setSunRotation(const LLQuaternion &val)
{
mSunRotation = val;
+ setDirtyFlag(true);
setLLSDDirty();
}
@@ -2153,6 +2160,7 @@ F32 LLSettingsSky::getSunScale() const
void LLSettingsSky::setSunScale(F32 val)
{
mSunScale = val;
+ setDirtyFlag(true);
setLLSDDirty();
}