aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/primbackup.cpp
diff options
context:
space:
mode:
authorDavid Walter Seikel2011-07-21 21:00:47 +1000
committerDavid Walter Seikel2011-07-21 21:00:47 +1000
commitf4d07b4a04b432141d8426932f4dd955b9f1a9f1 (patch)
tree1b8e09f6c0ba902fb2212e9c05c4b361fbcb6bbb /linden/indra/newview/primbackup.cpp
parentBump version number. (diff)
parentSupport modulo in llcalcparser (diff)
downloadmeta-impy-f4d07b4a04b432141d8426932f4dd955b9f1a9f1.zip
meta-impy-f4d07b4a04b432141d8426932f4dd955b9f1a9f1.tar.gz
meta-impy-f4d07b4a04b432141d8426932f4dd955b9f1a9f1.tar.bz2
meta-impy-f4d07b4a04b432141d8426932f4dd955b9f1a9f1.tar.xz
Merge remote-tracking branch 'imprudence/1.4-beta1.5' into next
Conflicts (merged manually): .gitignore linden/indra/newview/llgesturemgr.cpp linden/indra/newview/viewerinfo.cpp
Diffstat (limited to 'linden/indra/newview/primbackup.cpp')
-rw-r--r--linden/indra/newview/primbackup.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/linden/indra/newview/primbackup.cpp b/linden/indra/newview/primbackup.cpp
index e6288c6..fd20b7e 100644
--- a/linden/indra/newview/primbackup.cpp
+++ b/linden/indra/newview/primbackup.cpp
@@ -484,6 +484,10 @@ void PrimBackup::exportWorker(void *userdata)
484 llwarns << "Incorrect permission to export" << llendl; 484 llwarns << "Incorrect permission to export" << llendl;
485 PrimBackup::getInstance()->mExportState = EXPORT_FAILED; 485 PrimBackup::getInstance()->mExportState = EXPORT_FAILED;
486 LLSelectMgr::getInstance()->getSelection()->unref(); 486 LLSelectMgr::getInstance()->getSelection()->unref();
487 gIdleCallbacks.deleteFunction(exportWorker);
488 LLNotifications::instance().add("ExportFailed");
489 PrimBackup::getInstance()->close();
490 return;
487 } 491 }
488 } 492 }
489 break; 493 break;
@@ -590,10 +594,7 @@ void PrimBackup::exportWorker(void *userdata)
590 break; 594 break;
591 595
592 case EXPORT_FAILED: 596 case EXPORT_FAILED:
593 gIdleCallbacks.deleteFunction(exportWorker);
594 llwarns << "Export process aborted." << llendl; 597 llwarns << "Export process aborted." << llendl;
595 LLNotifications::instance().add("ExportFailed");
596 PrimBackup::getInstance()->close();
597 break; 598 break;
598 } 599 }
599} 600}
@@ -691,6 +692,10 @@ LLSD PrimBackup::primsToLLSD(LLViewerObject::child_list_t child_list, bool is_at
691 { 692 {
692 llwarns << "Incorrect permission to export a sculpt texture." << llendl; 693 llwarns << "Incorrect permission to export a sculpt texture." << llendl;
693 PrimBackup::getInstance()->mExportState = EXPORT_FAILED; 694 PrimBackup::getInstance()->mExportState = EXPORT_FAILED;
695 gIdleCallbacks.deleteFunction(exportWorker);
696 LLNotifications::instance().add("ExportFailed");
697 PrimBackup::getInstance()->close();
698 return LLSD();
694 } 699 }
695 } 700 }
696 701