diff options
| author | cosmic-linden <111533034+cosmic-linden@users.noreply.github.com> | 2026-04-27 16:31:27 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-27 16:31:27 -0700 |
| commit | 96fd196edcf542c8110a1b197eba68daee78dbd9 (patch) | |
| tree | b531213fec68c63d11ab3ccc6b2b8f59d2d93b23 | |
| parent | 7f110d9fb54d050e0b25ea65294a53d2595fc89b (diff) | |
| parent | b9e15a2a611c33e593caf72cd3512b32d7f7a9fe (diff) | |
Merge pull request #5720 from secondlife/v-5672_26.3
(cherry pick) secondlife/viewer#5702: Ensure non-visible preloaded media has PRIORITY_HIDDEN
| -rw-r--r-- | indra/newview/llmediactrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llmediactrl.cpp b/indra/newview/llmediactrl.cpp index c7b60b2fd5..4a808ba052 100644 --- a/indra/newview/llmediactrl.cpp +++ b/indra/newview/llmediactrl.cpp @@ -739,7 +739,7 @@ bool LLMediaCtrl::ensureMediaSourceExists() mMediaSource->setUsedInUI(true); mMediaSource->setHomeURL(mHomePageUrl, mHomePageMimeType); mMediaSource->setTarget(mTarget); - mMediaSource->setVisible( getVisible() ); + mMediaSource->setVisible( isInVisibleChain() ); mMediaSource->addObserver( this ); mMediaSource->setBackgroundColor( getBackgroundColor() ); mMediaSource->setTrustedBrowser(mTrusted); |
