summaryrefslogtreecommitdiff
path: root/indra/llinventory
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2018-05-02 17:07:06 -0700
committerRider Linden <rider@lindenlab.com>2018-05-02 17:07:06 -0700
commit03da2bc1a1c7674514c967b0e7408258dba25d77 (patch)
treecf3e2de8209023ceab6dff49ab8185c76374b2a8 /indra/llinventory
parent9dd5e4a5a7521f2576537738263196cfb88bb01d (diff)
Fixed sky editing floater.
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
{