Fix RLVa bug with wearables being unwearables
This commit is contained in:
@@ -5251,7 +5251,7 @@ void LLWearableBridge::buildContextMenu(LLMenuGL& menu, U32 flags)
|
|||||||
items.push_back(std::string("Wearable Wear"));
|
items.push_back(std::string("Wearable Wear"));
|
||||||
items.push_back(std::string("Wearable Edit"));
|
items.push_back(std::string("Wearable Edit"));
|
||||||
// [RLVa:KB] - Checked: 2011-09-16 (RLVa-1.1.4a) | Added: RLVa-1.1.4a
|
// [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 Wear"));
|
||||||
disabled_items.push_back(std::string("Wearable Edit"));
|
disabled_items.push_back(std::string("Wearable Edit"));
|
||||||
|
|||||||
Reference in New Issue
Block a user