summaryrefslogtreecommitdiff
path: root/indra/newview/llinventoryfunctions.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2025-05-23 20:00:10 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-06-11 19:59:50 +0300
commit2df00437d1525a7c09c4178a755eec923a077558 (patch)
tree5324fa30b53ebb7210fb8737abf2bc1b43a18de1 /indra/newview/llinventoryfunctions.cpp
parent26adfd99106485ff7040cb7a66eca244f2b1fa12 (diff)
#4149 Empty Outfit folders cannot be moved
Diffstat (limited to 'indra/newview/llinventoryfunctions.cpp')
-rw-r--r--indra/newview/llinventoryfunctions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp
index 1077ce74ae..d2ed7168c5 100644
--- a/indra/newview/llinventoryfunctions.cpp
+++ b/indra/newview/llinventoryfunctions.cpp
@@ -2350,9 +2350,9 @@ bool can_move_to_my_outfits_as_outfit(LLInventoryModel* model, LLInventoryCatego
return false;
}
- if (items->size() == 0)
+ if (items->size() == 0 && inv_cat->getPreferredType() != LLFolderType::FT_OUTFIT)
{
- // Nothing to move(create)
+ // Nothing to create an outfit folder from
return false;
}