diff options
author | simon <none@none> | 2014-03-19 11:41:42 -0700 |
---|---|---|
committer | simon <none@none> | 2014-03-19 11:41:42 -0700 |
commit | 00a325ccb90b1c6800ec78e1211b5097d9c27a58 (patch) | |
tree | 8b58fbd99d5bce117cf8dad5181b5690af4bd34f /indra/newview/llfilepicker.cpp | |
parent | 09d1c27d4f78c78d949b6a3d896d6f58df2dfc06 (diff) | |
parent | 1ab9f19f82a84a109cf429998f423986268801f6 (diff) |
Pull in viewer-lion to lock down next release
Diffstat (limited to 'indra/newview/llfilepicker.cpp')
-rwxr-xr-x | indra/newview/llfilepicker.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llfilepicker.cpp b/indra/newview/llfilepicker.cpp index 16eacc9392..057acf69b9 100755 --- a/indra/newview/llfilepicker.cpp +++ b/indra/newview/llfilepicker.cpp @@ -570,6 +570,7 @@ std::vector<std::string>* LLFilePicker::navOpenFilterProc(ELoadFilter filter) // allowedv->push_back("lsl"); allowedv->push_back("dic"); allowedv->push_back("xcu"); + allowedv->push_back("gif"); case FFLOAD_IMAGE: allowedv->push_back("jpg"); allowedv->push_back("jpeg"); @@ -661,7 +662,7 @@ bool LLFilePicker::doNavSaveDialog(ESaveFilter filter, const std::string& filena case FFSAVE_TGAPNG: type = "PNG"; creator = "prvw"; - extension = "png"; + extension = "png,tga"; break; case FFSAVE_BMP: type = "BMPf"; @@ -779,7 +780,7 @@ BOOL LLFilePicker::getOpenFile(ELoadFilter filter, bool blocking) if(filter == FFLOAD_ALL) // allow application bundles etc. to be traversed; important for DEV-16869, but generally useful { - mPickOptions &= F_NAV_SUPPORT; + mPickOptions |= F_NAV_SUPPORT; } if (blocking) |