summaryrefslogtreecommitdiff
path: root/indra/llinventory
diff options
context:
space:
mode:
authorGraham Linden graham@lindenlab.com <Graham Linden graham@lindenlab.com>2018-05-09 22:20:19 +0100
committerGraham Linden graham@lindenlab.com <Graham Linden graham@lindenlab.com>2018-05-09 22:20:19 +0100
commit23d2a97cda93d73ae1f5cae300b0e7534868f455 (patch)
treede7bbe636c5735b7c5809b1efdd892faa9b3d609 /indra/llinventory
parent5c18b349f06457bd6da3fcb12290932fb0d44826 (diff)
parentc238fa3ac5a3f93dcbf95e3cf7a7f8b576ab751c (diff)
Merge
Diffstat (limited to 'indra/llinventory')
-rw-r--r--indra/llinventory/llsettingssky.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/indra/llinventory/llsettingssky.h b/indra/llinventory/llsettingssky.h
index d08e2bbd03..1451162744 100644
--- a/indra/llinventory/llsettingssky.h
+++ b/indra/llinventory/llsettingssky.h
@@ -189,6 +189,11 @@ public:
return mSettings[SETTING_CLOUD_TEXTUREID].asUUID();
}
+ void setCloudNoiseTextureId(const LLUUID &id)
+ {
+ setValue(SETTING_CLOUD_TEXTUREID, id);
+ }
+
LLColor3 getCloudPosDensity1() const
{
return LLColor3(mSettings[SETTING_CLOUD_POS_DENSITY1]);
@@ -300,6 +305,11 @@ public:
return mSettings[SETTING_MAX_Y].asReal();
}
+ void setMaxY(F32 val)
+ {
+ setValue(SETTING_MAX_Y, val);
+ }
+
LLQuaternion getMoonRotation() const
{
return LLQuaternion(mSettings[SETTING_MOON_ROTATION]);
@@ -324,6 +334,11 @@ public:
return mSettings[SETTING_MOON_TEXTUREID].asUUID();
}
+ void setMoonTextureId(LLUUID id)
+ {
+ setValue(SETTING_MOON_TEXTUREID, id);
+ }
+
F32 getStarBrightness() const
{
return mSettings[SETTING_STAR_BRIGHTNESS].asReal();
@@ -368,6 +383,11 @@ public:
return mSettings[SETTING_SUN_TEXTUREID].asUUID();
}
+ void setSunTextureId(LLUUID id)
+ {
+ setValue(SETTING_SUN_TEXTUREID, id);
+ }
+
// Internal/calculated settings
LLVector3 getLightDirection() const
{