diff options
author | Oz Linden <oz@lindenlab.com> | 2011-03-03 07:50:40 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-03-03 07:50:40 -0500 |
commit | 856a6992ebb0989e5d143d987a3e9ba79bb6492e (patch) | |
tree | 030b791d9b0d0622ab90ef7e19d6d038eaf80260 /indra/newview/llpreviewtexture.cpp | |
parent | 0d93ce2e4a3daabc8d653290e39b67e5cddabb14 (diff) | |
parent | b7c49f0f47f53d200df5afe4a4b68a83dd789918 (diff) |
pull latest changes from viewer-vs2010
Diffstat (limited to 'indra/newview/llpreviewtexture.cpp')
-rw-r--r-- | indra/newview/llpreviewtexture.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llpreviewtexture.cpp b/indra/newview/llpreviewtexture.cpp index 7657cccd4e..6cfb708112 100644 --- a/indra/newview/llpreviewtexture.cpp +++ b/indra/newview/llpreviewtexture.cpp @@ -273,6 +273,8 @@ void LLPreviewTexture::saveAs() mSaveFileName = file_picker.getFirstFile(); mLoadingFullImage = TRUE; getWindow()->incBusyCount(); + + mImage->forceToSaveRawImage(0) ;//re-fetch the raw image if the old one is removed. mImage->setLoadedCallback( LLPreviewTexture::onFileLoadedForSave, 0, TRUE, FALSE, new LLUUID( mItemUUID ), &mCallbackTextureList ); } |