Fix export enable controls

This commit is contained in:
Melanie
2013-03-29 06:14:59 +01:00
parent 121de1fc12
commit 469ef079b9

View File

@@ -536,7 +536,7 @@ void LLFloaterProperties::refreshFromItem(LLInventoryItem* item)
childSetEnabled("CheckEveryoneMove",false);
}
childSetEnabled("CheckExport", supports_export && item->getType() != LLAssetType::AT_OBJECT && gAgent.getID() == item->getCreatorUUID()
&& !(base_mask & PERM_EXPORT && owner_mask & PERM_EXPORT && next_owner_mask & PERM_ITEM_UNRESTRICTED));
&& base_mask & PERM_EXPORT && owner_mask & PERM_EXPORT && next_owner_mask & PERM_ITEM_UNRESTRICTED);
// Set values.
BOOL is_group_copy = (group_mask & PERM_COPY) ? TRUE : FALSE;