Hide the export check boxes when on SL.

This commit is contained in:
Melanie
2013-04-16 12:35:02 +02:00
parent f960a79118
commit ab29c73ff5
3 changed files with 8 additions and 0 deletions

View File

@@ -448,6 +448,8 @@ void LLFloaterProperties::refreshFromItem(LLInventoryItem* item)
bool supports_export = LFSimFeatureHandler::instance().simSupportsExport();
childSetEnabled("CheckOwnerExport",false);
childSetValue("CheckOwnerExport", supports_export && owner_mask & PERM_EXPORT);
if (!gHippoGridManager->getCurrentGrid()->isSecondLife())
childSetVisible("CheckOwnerExport", false);
///////////////////////
// DEBUG PERMISSIONS //