Fix RLVa bug with wearables being unwearables

This commit is contained in:
Siana Gearz
2012-02-08 16:19:12 +01:00
parent 13780fae2a
commit ef68f43687

View File

@@ -5251,7 +5251,7 @@ void LLWearableBridge::buildContextMenu(LLMenuGL& menu, U32 flags)
items.push_back(std::string("Wearable Wear"));
items.push_back(std::string("Wearable Edit"));
// [RLVa:KB] - Checked: 2011-09-16 (RLVa-1.1.4a) | Added: RLVa-1.1.4a
if ( (rlv_handler_t::isEnabled()) && (!gRlvWearableLocks.canRemove(item)) )
if ( (rlv_handler_t::isEnabled()) && (gRlvWearableLocks.canRemove(item)) )
{
disabled_items.push_back(std::string("Wearable Wear"));
disabled_items.push_back(std::string("Wearable Edit"));