diff options
| author | Rye <rye@alchemyviewer.org> | 2026-01-07 09:21:13 -0500 |
|---|---|---|
| committer | Rye <rye@alchemyviewer.org> | 2026-01-07 09:21:13 -0500 |
| commit | cab31f8bfed507425a09b266d47823f6acddfa94 (patch) | |
| tree | 77c9f59277aad29cf00dd2de00d97c1909f9f59e /indra/newview/llweb.cpp | |
| parent | 516bd5e832a91e1f837b5b1b621cfac5fe71c08f (diff) | |
| parent | 0c9dfeb2c709ced86ca9967a82b9816eb192c54c (diff) | |
Merge remote-tracking branch 'origin/develop' into develop-linux
Diffstat (limited to 'indra/newview/llweb.cpp')
| -rw-r--r-- | indra/newview/llweb.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/indra/newview/llweb.cpp b/indra/newview/llweb.cpp index a319aa00bc..f603274335 100644 --- a/indra/newview/llweb.cpp +++ b/indra/newview/llweb.cpp @@ -34,6 +34,7 @@ #include "llagent.h" #include "llappviewer.h" +#include "llfloatermarketplace.h" #include "llfloaterwebcontent.h" #include "llfloaterreg.h" #include "lllogininstance.h" @@ -74,12 +75,20 @@ void LLWeb::loadURL(const std::string& url, const std::string& target, const std } // static -// Explicitly open a Web URL using the Web content floater +// Explicitly open a Web URL using the Web content floater or Marketplace floater void LLWeb::loadURLInternal(const std::string &url, const std::string& target, const std::string& uuid, bool dev_mode) { LLFloaterWebContent::Params p; p.url(url).target(target).id(uuid).dev_mode(dev_mode); - LLFloaterReg::showInstance("web_content", p); + + if (LLFloaterMarketplace::isMarketplaceURL(url)) + { + LLFloaterReg::showInstance("marketplace", p); + } + else + { + LLFloaterReg::showInstance("web_content", p); + } } // static |
