Skip to content
Snippets Groups Projects
Commit dbe288bf authored by Loren Shih's avatar Loren Shih
Browse files

fixes from automated merge

parent 52293aa4
Branches
Tags
No related merge requests found
...@@ -376,14 +376,14 @@ void LLPanelOutfitEdit::onEditWearableClicked(void) ...@@ -376,14 +376,14 @@ void LLPanelOutfitEdit::onEditWearableClicked(void)
if(wearable_to_edit) if(wearable_to_edit)
{ {
bool can_modify = false; bool can_modify = false;
bool is_complete = item_to_edit->isComplete(); bool is_complete = item_to_edit->isFinished();
// if item_to_edit is a link, its properties are not appropriate, // if item_to_edit is a link, its properties are not appropriate,
// lets get original item with actual properties // lets get original item with actual properties
LLViewerInventoryItem* original_item = gInventory.getItem(wearable_to_edit->getItemID()); LLViewerInventoryItem* original_item = gInventory.getItem(wearable_to_edit->getItemID());
if(original_item) if(original_item)
{ {
can_modify = original_item->getPermissions().allowModifyBy(gAgentID); can_modify = original_item->getPermissions().allowModifyBy(gAgentID);
is_complete = original_item->isComplete(); is_complete = original_item->isFinished();
} }
if (can_modify && is_complete) if (can_modify && is_complete)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment