diff options
| author | Oz Linden <oz@lindenlab.com> | 2011-02-16 18:24:03 -0500 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2011-02-16 18:24:03 -0500 |
| commit | 75f7aca1079468eb8655c5726318cc3a7aa85c16 (patch) | |
| tree | cabf8ba08a2cb0b1da360798c0937e840bf42590 /indra/newview/llpreviewtexture.cpp | |
| parent | 8af932de1f006d518ddfcf44c8cc2cab344dc802 (diff) | |
| parent | bf7801aeec041fd162599b1b394780ef0e32fe9c (diff) | |
Automated merge with ssh://bitbucket.org/jenn_linden/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 ); } |
