diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-04-15 20:04:38 +0300 | 
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-04-15 21:40:17 +0300 | 
| commit | 206f8d9e01aeadd972d2b279a5e111e0fb418987 (patch) | |
| tree | 396f1b64db3d8b1708d473073f2d028a7ffae414 | |
| parent | 7d36e7103e4260c8d79d2022bfaacdcebafb75d3 (diff) | |
#3863 Ensure cloud texture selection updates the sky
| -rw-r--r-- | indra/llinventory/llsettingsbase.h | 2 | ||||
| -rw-r--r-- | indra/llinventory/llsettingssky.cpp | 4 | 
2 files changed, 5 insertions, 1 deletions
| diff --git a/indra/llinventory/llsettingsbase.h b/indra/llinventory/llsettingsbase.h index 7de71588ef..bea6fdec97 100644 --- a/indra/llinventory/llsettingsbase.h +++ b/indra/llinventory/llsettingsbase.h @@ -398,7 +398,7 @@ protected:  private:      bool        mLLSDDirty; -    bool        mDirty; +    bool        mDirty; // gates updateSettings      bool        mReplaced; // super dirty!      static LLSD combineSDMaps(const LLSD &first, const LLSD &other); diff --git a/indra/llinventory/llsettingssky.cpp b/indra/llinventory/llsettingssky.cpp index ff28c30563..e7d2887fdb 100644 --- a/indra/llinventory/llsettingssky.cpp +++ b/indra/llinventory/llsettingssky.cpp @@ -1932,6 +1932,7 @@ LLUUID LLSettingsSky::getCloudNoiseTextureId() const  void LLSettingsSky::setCloudNoiseTextureId(const LLUUID &id)  {      mCloudTextureId = id; +    setDirtyFlag(true);      setLLSDDirty();  } @@ -1976,6 +1977,7 @@ LLVector2 LLSettingsSky::getCloudScrollRate() const  void LLSettingsSky::setCloudScrollRate(const LLVector2 &val)  {      mScrollRate = val; +    setDirtyFlag(true);      setLLSDDirty();  } @@ -2134,6 +2136,7 @@ LLUUID LLSettingsSky::getMoonTextureId() const  void LLSettingsSky::setMoonTextureId(LLUUID id)  {      mMoonTextureId = id; +    setDirtyFlag(true);      setLLSDDirty();  } @@ -2218,6 +2221,7 @@ LLUUID LLSettingsSky::getSunTextureId() const  void LLSettingsSky::setSunTextureId(LLUUID id)  {      mSunTextureId = id; +    setDirtyFlag(true);      setLLSDDirty();  } | 
