diff options
| author | Cosmic Linden <cosmic@lindenlab.com> | 2026-04-23 10:53:10 -0700 |
|---|---|---|
| committer | Cosmic Linden <cosmic@lindenlab.com> | 2026-04-23 10:53:10 -0700 |
| commit | f9ac8f4ebf05d99344d3f05c7d5288e7f37feb07 (patch) | |
| tree | dc101fd1d317967a49ca9fd465547762cb17c2ed | |
| parent | 3ca4bf1ac0a3b26e961579a86869181104c11b5f (diff) | |
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); |
