STORM-378 FIX REVERTED Backed out changeset: 1bce3dd882df
parent
426744df2c
commit
26d063f552
|
|
@ -366,7 +366,9 @@ void LLFloaterPostcard::sendPostcard()
|
|||
{
|
||||
gAssetStorage->storeAssetData(mTransactionID, LLAssetType::AT_IMAGE_JPEG, &uploadCallback, (void *)this, FALSE);
|
||||
}
|
||||
|
||||
|
||||
// give user feedback of the event
|
||||
gViewerWindow->playSnapshotAnimAndSound();
|
||||
LLUploadDialog::modalUploadDialog(getString("upload_message"));
|
||||
|
||||
// don't destroy the window until the upload is done
|
||||
|
|
|
|||
|
|
@ -1006,6 +1006,7 @@ void LLSnapshotLivePreview::saveTexture()
|
|||
LLFloaterPerms::getEveryonePerms(),
|
||||
"Snapshot : " + pos_string,
|
||||
callback, expected_upload_cost, userdata);
|
||||
gViewerWindow->playSnapshotAnimAndSound();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -1027,6 +1028,10 @@ BOOL LLSnapshotLivePreview::saveLocal()
|
|||
mDataSize = 0;
|
||||
updateSnapshot(FALSE, FALSE);
|
||||
|
||||
if(success)
|
||||
{
|
||||
gViewerWindow->playSnapshotAnimAndSound();
|
||||
}
|
||||
return success;
|
||||
}
|
||||
|
||||
|
|
@ -1046,6 +1051,8 @@ void LLSnapshotLivePreview::saveWeb()
|
|||
|
||||
LLLandmarkActions::getRegionNameAndCoordsFromPosGlobal(gAgentCamera.getCameraPositionGlobal(),
|
||||
boost::bind(&LLSnapshotLivePreview::regionNameCallback, this, jpg, metadata, _1, _2, _3, _4));
|
||||
|
||||
gViewerWindow->playSnapshotAnimAndSound();
|
||||
}
|
||||
|
||||
void LLSnapshotLivePreview::regionNameCallback(LLImageJPEG* snapshot, LLSD& metadata, const std::string& name, S32 x, S32 y, S32 z)
|
||||
|
|
|
|||
|
|
@ -404,6 +404,8 @@ class LLFileTakeSnapshotToDisk : public view_listener_t
|
|||
gSavedSettings.getBOOL("RenderUIInSnapshot"),
|
||||
FALSE))
|
||||
{
|
||||
gViewerWindow->playSnapshotAnimAndSound();
|
||||
|
||||
LLPointer<LLImageFormatted> formatted;
|
||||
switch(LLFloaterSnapshot::ESnapshotFormat(gSavedSettings.getS32("SnapshotFormat")))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue