Split plugin classes and derive AIFilePicker from BasicPluginBase (part 1).
This commit contains all changes, except those in indra/media_plugins (which was renamed to indra/plugins) and indra/llplugin. However, it does contain the (new) file indra/plugins/filepicker/basic_plugin_filepicker.cpp
This commit is contained in:
@@ -149,7 +149,7 @@ public:
|
||||
void updateSnapshot(BOOL new_snapshot, BOOL new_thumbnail = FALSE, F32 delay = 0.f);
|
||||
LLFloaterPostcard* savePostcard();
|
||||
void saveTexture();
|
||||
BOOL saveLocal();
|
||||
void saveLocal();
|
||||
|
||||
BOOL setThumbnailImageSize() ;
|
||||
void generateThumbnailImage(BOOL force_update = FALSE) ;
|
||||
@@ -1005,20 +1005,14 @@ void LLSnapshotLivePreview::saveTexture()
|
||||
mDataSize = 0;
|
||||
}
|
||||
|
||||
BOOL LLSnapshotLivePreview::saveLocal()
|
||||
void LLSnapshotLivePreview::saveLocal()
|
||||
{
|
||||
BOOL success = gViewerWindow->saveImageNumbered(mFormattedImage);
|
||||
gViewerWindow->saveImageNumbered(mFormattedImage);
|
||||
|
||||
// Relinquish image memory. Save button will be disabled as a side-effect.
|
||||
mFormattedImage = NULL;
|
||||
mDataSize = 0;
|
||||
updateSnapshot(FALSE, FALSE);
|
||||
|
||||
if(success)
|
||||
{
|
||||
gViewerWindow->playSnapshotAnimAndSound();
|
||||
}
|
||||
return success;
|
||||
}
|
||||
|
||||
///----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user