Commits

Vadim Savchuk committed 65250e1

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

Comments (0)

Files changed (1)

indra/newview/llinventorybridge.cpp

 		{
 			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());