From b7106c7cb1a6132a907918c36eb1f01f170fb486 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Fri, 8 Oct 2010 23:02:24 -0700 Subject: Revert "Allow export of megaprims from SL by people who've given us permission" until we can come to a firm decision on this. This reverts commit dfeb8fe3f4110f7e571ababf35401ea6a5fd41d5. --- linden/indra/newview/primbackup.cpp | 31 +++---------------------------- 1 file changed, 3 insertions(+), 28 deletions(-) (limited to 'linden/indra') diff --git a/linden/indra/newview/primbackup.cpp b/linden/indra/newview/primbackup.cpp index adbc4de..63043f0 100644 --- a/linden/indra/newview/primbackup.cpp +++ b/linden/indra/newview/primbackup.cpp @@ -350,34 +350,6 @@ void primbackup::pre_export_object() bool primbackup::check_perms( LLSelectNode* node ) { LLPermissions *perms = node->mPermissions; - // We check to see if there are megaprims in SL we can export. - // Cludgy, but the only option considering LL's TPV policy. - if (gHippoGridManager->getConnectedGrid()->isSecondLife()) - { - bool is_sl_megaprim = false; - for (int i = 0; i < 3; ++i) - { - if (node->getObject()->getScale().mV[i] > 10) - { - is_sl_megaprim = true; - break; - } - } - - if (is_sl_megaprim) - { - // The following avatars in Second Life have given Imprudence permission for their full-perm - // megaprims to be exported even if that means changing the creator from themselves: - // McCabe_Maxsted ("3fc0478f-1c40-48a1-b8a7-3b7062efeda1"); - // Gene_Replacement ("adfacb56-390b-4fdc-9216-3494f1c59862"); - return ((perms->getCreator() == LLUUID("3fc0478f-1c40-48a1-b8a7-3b7062efeda1") || - perms->getCreator() == LLUUID("adfacb56-390b-4fdc-9216-3494f1c59862") || - perms->getCreator() == gAgent.getID()) && - perms->getOwner() == gAgent.getID() && - (PERM_ITEM_UNRESTRICTED & perms->getMaskOwner()) == PERM_ITEM_UNRESTRICTED); - } - } - return (gAgent.getID() == perms->getOwner() && gAgent.getID() == perms->getCreator() && (PERM_ITEM_UNRESTRICTED & @@ -1139,4 +1111,7 @@ void primbackup::upload_next_asset() "Uploaded texture", NULL, NULL); + + } + -- cgit v1.1