summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiranV <NiranV.Dean@googlemail.com>2014-07-30 06:19:16 +0200
committerNiranV <NiranV.Dean@googlemail.com>2014-07-30 06:19:16 +0200
commit858e2159b9f642213f5edd583b91d9e6d9be8eee (patch)
treebf782ba8e99824aaa53f68ba3dc8d23401563993
parent62e1ac887acf513cf08e805599095d419309b098 (diff)
STORM-2040: Fixed: Width and Height spinners always reverting to previous values when entering a custom value while anything else than "Custom" is selected in the size dropdown.
Do NOT. Ever. Change. Our. Resolution. Again. Unless we ask you to with the proper dropdown entries.
-rwxr-xr-xindra/newview/llfloatersnapshot.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/indra/newview/llfloatersnapshot.cpp b/indra/newview/llfloatersnapshot.cpp
index 632ec08a27..2011afc124 100755
--- a/indra/newview/llfloatersnapshot.cpp
+++ b/indra/newview/llfloatersnapshot.cpp
@@ -967,8 +967,6 @@ void LLFloaterSnapshot::Impl::applyCustomResolution(LLFloaterSnapshot* view, S32
//if to upload a snapshot, process spinner input in a special way.
previewp->setMaxImageSize((S32) getWidthSpinner(view)->getMaxValue()) ;
- updateSpinners(view, previewp, w, h, w != curw); // may change w and h
-
previewp->setSize(w,h);
checkAutoSnapshot(previewp, FALSE);
LL_DEBUGS() << "applied custom resolution, updating thumbnail" << LL_ENDL;