1. simon_linden
  2. viewer-rabbit

Commits

Vadim Savchuk  committed 65250e1

STORM-183 ADDITIONAL FIX Disabled the "Replace Current Outfit" option of the inventory context menu for incomplete outfits.

  • Participants
  • Parent commits 4b140ce
  • Branches default

Comments (0)

Files changed (1)

File indra/newview/llinventorybridge.cpp

View file
 		{
 			disabled_items.push_back(std::string("Remove From Outfit"));
 		}
+		if (!LLAppearanceMgr::instance().getCanReplaceCOF(mUUID))
+		{
+			disabled_items.push_back(std::string("Replace Outfit"));
+		}
 		mItems.push_back(std::string("Outfit Separator"));
 	}
 	LLMenuGL* menup = dynamic_cast<LLMenuGL*>(mMenu.get());