summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorymodel.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-05-31 19:28:48 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-05-31 21:26:06 +0300
commit23311903106293f29e22d21314bdab03bbd499f7 (patch)
treee2d2caf30ff4c390c487cf84111151aa8e21710d /indra/newview/llinventorymodel.cpp
parentc3e200cef41a602c13d3115cfec777eff63d5028 (diff)
Revert "SL-19795 Unified scroll"
Diffstat (limited to 'indra/newview/llinventorymodel.cpp')
-rw-r--r--indra/newview/llinventorymodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp
index bc0d523bd2..59b34cc95c 100644
--- a/indra/newview/llinventorymodel.cpp
+++ b/indra/newview/llinventorymodel.cpp
@@ -914,7 +914,7 @@ const LLUUID LLInventoryModel::findCategoryUUIDForTypeInRoot(
// if it does not exists, it should either be added
// to createCommonSystemCategories or server should
// have set it
- llassert(false);
+ llassert(!isInventoryUsable());
LL_WARNS("Inventory") << "Tried to find folder, type " << preferred_type
<< " but category does not exist" << LL_ENDL;
}