aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterauction.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:50 -0500
committerJacek Antonelli2008-08-15 23:45:50 -0500
commit2a4dea528f670b9bb1f77ef27a8a1dd16603d114 (patch)
tree95c68e362703c9099d571ecbdc6142b1cda1e005 /linden/indra/newview/llfloaterauction.cpp
parentSecond Life viewer sources 1.20.6 (diff)
downloadmeta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.zip
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.gz
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.bz2
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.xz
Second Life viewer sources 1.20.7
Diffstat (limited to 'linden/indra/newview/llfloaterauction.cpp')
-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;