aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorMcCabe Maxsted2011-06-11 01:26:53 -0700
committerMcCabe Maxsted2011-06-11 01:26:53 -0700
commit2a9373307b814ed06dbbd23f7a41618920176c18 (patch)
treebd2b35dcf47e43592956e940d15c1d7ea8670b30 /linden
parentMerge branch '1.4-fbeta-maxselectfix' into 1.4-fbeta-export_texture_sl (diff)
downloadmeta-impy-2a9373307b814ed06dbbd23f7a41618920176c18.zip
meta-impy-2a9373307b814ed06dbbd23f7a41618920176c18.tar.gz
meta-impy-2a9373307b814ed06dbbd23f7a41618920176c18.tar.bz2
meta-impy-2a9373307b814ed06dbbd23f7a41618920176c18.tar.xz
Use the name of the root node for the default export filename
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/newview/primbackup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/primbackup.cpp b/linden/indra/newview/primbackup.cpp
index 0e4a8b8..6d9d73f 100644
--- a/linden/indra/newview/primbackup.cpp
+++ b/linden/indra/newview/primbackup.cpp
@@ -355,7 +355,7 @@ void PrimBackup::exportObject()
355 355
356 // Open the file save dialog 356 // Open the file save dialog
357 LLFilePicker& file_picker = LLFilePicker::instance(); 357 LLFilePicker& file_picker = LLFilePicker::instance();
358 if (!file_picker.getSaveFile(LLFilePicker::FFSAVE_XML)) 358 if (!file_picker.getSaveFile(LLFilePicker::FFSAVE_XML, LLSelectMgr::getInstance()->getSelection()->getFirstRootNode()->mName))
359 { 359 {
360 // User canceled save. 360 // User canceled save.
361 return; 361 return;