diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-08-26 18:18:07 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-08-26 21:11:47 +0300 |
commit | 8a585912adab1948e250c30d8ceb3588b9148600 (patch) | |
tree | 62e2fd8c85b23729a6f6c82878cb7a39a3f24126 /indra/newview/llreflectionmapmanager.h | |
parent | 9f50a5b25bc7471fba5cdb19d6793f460422cbe5 (diff) |
#4598 Crash in LLReflectionMapManager::update
Not enough data for a solid conclusion (does something create settings
in a thread?), but should be avoidable if we cache settings differently.
Diffstat (limited to 'indra/newview/llreflectionmapmanager.h')
-rw-r--r-- | indra/newview/llreflectionmapmanager.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llreflectionmapmanager.h b/indra/newview/llreflectionmapmanager.h index 0719c28134..5daed7d1cf 100644 --- a/indra/newview/llreflectionmapmanager.h +++ b/indra/newview/llreflectionmapmanager.h @@ -110,6 +110,8 @@ public: // maintain reflection probes void update(); + void refreshSettings(); + // add a probe for the given spatial group LLReflectionMap* addProbe(LLSpatialGroup* group = nullptr); @@ -248,6 +250,12 @@ private: U32 mDynamicProbeCount; + // cached settings from gSavedSettings + S32 mRenderReflectionProbeDetail = -1; + S32 mRenderReflectionProbeLevel = 3; + U32 mRenderReflectionProbeCount = 256U; + S32 mRenderReflectionProbeDynamicAllocation = -1; + // resolution of reflection probes U32 mProbeResolution = 128; |