diff options
| author | Cosmic Linden <cosmic@lindenlab.com> | 2026-04-23 10:53:10 -0700 |
|---|---|---|
| committer | Cosmic Linden <cosmic@lindenlab.com> | 2026-04-27 13:37:11 -0700 |
| commit | b9e15a2a611c33e593caf72cd3512b32d7f7a9fe (patch) | |
| tree | b531213fec68c63d11ab3ccc6b2b8f59d2d93b23 /indra | |
| parent | 7f110d9fb54d050e0b25ea65294a53d2595fc89b (diff) | |
secondlife/viewer#5702: Ensure non-visible preloaded media has PRIORITY_HIDDEN
Diffstat (limited to 'indra')
| -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); |
