aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/primbackup.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2010-05-01 09:42:55 -0500
committerJacek Antonelli2010-05-01 09:45:08 -0500
commit1a172e5e22207853580e7c0f717ceaba3cc803bf (patch)
treeabe32f7c432b74cfa1778372b5ce7d9ad3757c5f /linden/indra/newview/primbackup.cpp
parentMerge remote branch 'armin/logoutbugsNEW' into next (diff)
parentImprudence 1.2.2 released. (diff)
downloadmeta-impy-1a172e5e22207853580e7c0f717ceaba3cc803bf.zip
meta-impy-1a172e5e22207853580e7c0f717ceaba3cc803bf.tar.gz
meta-impy-1a172e5e22207853580e7c0f717ceaba3cc803bf.tar.bz2
meta-impy-1a172e5e22207853580e7c0f717ceaba3cc803bf.tar.xz
Merged 1.2.2 (TPV) into 1.3.
Doesn't have the SL content export notification yet, though.
Diffstat (limited to 'linden/indra/newview/primbackup.cpp')
-rw-r--r--linden/indra/newview/primbackup.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/linden/indra/newview/primbackup.cpp b/linden/indra/newview/primbackup.cpp
index 3ab5ee1..5b704f1 100644
--- a/linden/indra/newview/primbackup.cpp
+++ b/linden/indra/newview/primbackup.cpp
@@ -54,6 +54,8 @@
54#include "llappviewer.h" 54#include "llappviewer.h"
55#include "lltransactiontypes.h" 55#include "lltransactiontypes.h"
56 56
57#include "hippoGridManager.h"
58
57#include "primbackup.h" 59#include "primbackup.h"
58 60
59#include "llviewerobjectlist.h" 61#include "llviewerobjectlist.h"
@@ -414,6 +416,15 @@ void primbackup::exportworker(void *userdata)
414 } 416 }
415 417
416 case EXPORT_TEXTURES: { 418 case EXPORT_TEXTURES: {
419 // Exporting object textures (or other content) from Second Life
420 // without checking creator is a violation of the Second Life
421 // Policy on Third-Party Viewers and Terms of Service.
422 if(gHippoGridManager->getConnectedGrid()->isSecondLife())
423 {
424 primbackup::getInstance()->export_state=EXPORT_DONE;
425 return;
426 }
427
417 if(primbackup::getInstance()->m_nexttextureready==false) 428 if(primbackup::getInstance()->m_nexttextureready==false)
418 return; 429 return;
419 430