aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterauction.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloaterauction.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/linden/indra/newview/llfloaterauction.cpp b/linden/indra/newview/llfloaterauction.cpp
index 7affff6..4a40abb 100644
--- a/linden/indra/newview/llfloaterauction.cpp
+++ b/linden/indra/newview/llfloaterauction.cpp
@@ -53,7 +53,7 @@
53#include "llviewerdisplay.h" 53#include "llviewerdisplay.h"
54#include "llviewercontrol.h" 54#include "llviewercontrol.h"
55#include "llui.h" 55#include "llui.h"
56#include "llglimmediate.h" 56#include "llrender.h"
57 57
58///---------------------------------------------------------------------------- 58///----------------------------------------------------------------------------
59/// Local function declarations, constants, enums, and typedefs 59/// Local function declarations, constants, enums, and typedefs
@@ -186,7 +186,10 @@ void LLFloaterAuction::onClickSnapshot(void* data)
186 self->mTransactionID.generate(); 186 self->mTransactionID.generate();
187 self->mImageID = self->mTransactionID.makeAssetID(gAgent.getSecureSessionID()); 187 self->mImageID = self->mTransactionID.makeAssetID(gAgent.getSecureSessionID());
188 188
189 gViewerWindow->playSnapshotAnimAndSound(); 189 if(!gSavedSettings.getBOOL("QuietSnapshotsToDisk"))
190 {
191 gViewerWindow->playSnapshotAnimAndSound();
192 }
190 llinfos << "Writing TGA..." << llendl; 193 llinfos << "Writing TGA..." << llendl;
191 194
192 LLPointer<LLImageTGA> tga = new LLImageTGA; 195 LLPointer<LLImageTGA> tga = new LLImageTGA;