summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-08-23 19:21:30 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-08-23 19:39:28 +0300
commitf40b85c4f495b9079991c41a26b76d397a6168ae (patch)
tree7e08dc8767b0a19f820ff560e7fe3b5fdcf35cd2 /indra
parent06989cb1451d18f137714a375856244c500ddf3c (diff)
SL-20184 Crash when opening Marketplace Listings Window
Looks like a bit of code from Inventory Extensions viewer leaked into release. This was supposed to prevent 'folder does not exist' spam as Inventory Extensions does not create folders this way, instead it blocked folder creation.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llinventorymodel.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp
index b4727de77f..cd0ce88920 100644
--- a/indra/newview/llinventorymodel.cpp
+++ b/indra/newview/llinventorymodel.cpp
@@ -596,9 +596,7 @@ const LLUUID LLInventoryModel::findCategoryUUIDForTypeInRoot(
if(rv.isNull()
&& root_id.notNull()
- && create_folder
- && preferred_type != LLFolderType::FT_MARKETPLACE_LISTINGS
- && preferred_type != LLFolderType::FT_OUTBOX)
+ && create_folder)
{
if (isInventoryUsable())