aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfilepicker.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-10-12 00:51:28 -0700
committerMcCabe Maxsted2009-10-12 00:51:28 -0700
commite0561134ee559f9ea729f940cf9d4390f60c66d5 (patch)
treee4d25df45c1f2f959b315ef90a3f6badd5133157 /linden/indra/newview/llfilepicker.cpp
parentAdded particle count to windlight toolbar (diff)
downloadmeta-impy-e0561134ee559f9ea729f940cf9d4390f60c66d5.zip
meta-impy-e0561134ee559f9ea729f940cf9d4390f60c66d5.tar.gz
meta-impy-e0561134ee559f9ea729f940cf9d4390f60c66d5.tar.bz2
meta-impy-e0561134ee559f9ea729f940cf9d4390f60c66d5.tar.xz
Added script load/save from Meerkat viewer
Diffstat (limited to 'linden/indra/newview/llfilepicker.cpp')
-rw-r--r--linden/indra/newview/llfilepicker.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/linden/indra/newview/llfilepicker.cpp b/linden/indra/newview/llfilepicker.cpp
index 954a274..ece30dd 100644
--- a/linden/indra/newview/llfilepicker.cpp
+++ b/linden/indra/newview/llfilepicker.cpp
@@ -327,6 +327,18 @@ BOOL LLFilePicker::getSaveFile(ESaveFilter filter, const std::string& filename)
327 L"Targa, Bitmap Images (*.tga; *.bmp)\0*.tga;*.bmp\0" \ 327 L"Targa, Bitmap Images (*.tga; *.bmp)\0*.tga;*.bmp\0" \
328 L"\0"; 328 L"\0";
329 break; 329 break;
330 case FFSAVE_TEXT:
331 if (filename.empty())
332 {
333 wcsncpy( mFilesW,L"untitled.txt", FILENAME_BUFFER_SIZE); /*Flawfinder: ignore*/
334 }
335 mOFN.lpstrDefExt = L"txt";
336 mOFN.lpstrFilter =
337 L"Text files (*.txt)\0*.txt\0"
338 L"RTF Files (*.rtf)\0*.rtf\0"
339 L"LSL Files (*.lsl)\0*.lsl\0"
340 L"\0";
341 break;
330 case FFSAVE_WAV: 342 case FFSAVE_WAV:
331 if (filename.empty()) 343 if (filename.empty())
332 { 344 {