summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorymodel.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-03-18 01:15:27 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-03-18 01:15:27 +0200
commitf98c1403fb47990181c504acfbf5d35a393225b7 (patch)
treec01511a7c6b6b420062ccba0e550e598c23d796b /indra/newview/llinventorymodel.cpp
parent70d99cde5826893be4964d4673ff875320b7220f (diff)
SL-18674 Reenable folder creation via AIS v3
Add item fetching via AIS v3
Diffstat (limited to 'indra/newview/llinventorymodel.cpp')
-rw-r--r--indra/newview/llinventorymodel.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp
index 43bfaf454c..52121d644f 100644
--- a/indra/newview/llinventorymodel.cpp
+++ b/indra/newview/llinventorymodel.cpp
@@ -996,7 +996,6 @@ void LLInventoryModel::createNewCategory(const LLUUID& parent_id,
name.assign(LLViewerFolderType::lookupNewCategoryName(preferred_type));
}
-#ifdef USE_AIS_FOR_NC
// D567 currently this doesn't really work due to limitations in
// AIS3, also violates the common caller assumption that we can
// assign the id and return immediately.
@@ -1047,7 +1046,7 @@ void LLInventoryModel::createNewCategory(const LLUUID& parent_id,
});
return;
}
-#endif
+
LLViewerRegion* viewer_region = gAgent.getRegion();
std::string url;
if ( viewer_region )