summaryrefslogtreecommitdiff
path: root/indra/newview/llfilepicker.cpp
diff options
context:
space:
mode:
authorcallum_linden <none@none>2013-08-14 15:50:37 -0700
committercallum_linden <none@none>2013-08-14 15:50:37 -0700
commit2503f825ec6749f02607a83f6af0053b51594446 (patch)
tree3ea6c50666e1ab50e9d863cb81e4cd202f411bc1 /indra/newview/llfilepicker.cpp
parentbe9d94637530a9e6f5b97d5fc7e40787965e0c0a (diff)
MAINT-2897 Need to be able to save textures from inventory as PNG
Diffstat (limited to 'indra/newview/llfilepicker.cpp')
-rwxr-xr-xindra/newview/llfilepicker.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llfilepicker.cpp b/indra/newview/llfilepicker.cpp
index 65aa75c9ce..a105fdee09 100755
--- a/indra/newview/llfilepicker.cpp
+++ b/indra/newview/llfilepicker.cpp
@@ -764,13 +764,16 @@ OSStatus LLFilePicker::doNavSaveDialog(ESaveFilter filter, const std::string& fi
creator = 'TVOD';
extension = CFSTR(".wav");
break;
-
case FFSAVE_TGA:
type = 'TPIC';
creator = 'prvw';
extension = CFSTR(".tga");
break;
-
+ case FFSAVE_TGAPNG:
+ type = 'PNG';
+ creator = 'prvw';
+ extension = CFSTR(".png");
+ break;
case FFSAVE_BMP:
type = 'BMPf';
creator = 'prvw';