summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersnapshot.cpp
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2010-02-04 19:21:12 +0200
committerVadim Savchuk <vsavchuk@productengine.com>2010-02-04 19:21:12 +0200
commit3fa2acc0df76b3dd81e295a28bfb463f863a9e49 (patch)
treed81289d829e9de8be03ecf91b7c4c0078625da7d /indra/newview/llfloatersnapshot.cpp
parent4d8c14aa8ff25e2a7701d3bddcbc8c79113a27b5 (diff)
Fixed bug EXT-4806 (Snapshot floater has preview offset).
Removed incorrect vertical offset modification in compact mode. --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llfloatersnapshot.cpp')
-rw-r--r--indra/newview/llfloatersnapshot.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/indra/newview/llfloatersnapshot.cpp b/indra/newview/llfloatersnapshot.cpp
index b6e9fb3f6c..a0031f0193 100644
--- a/indra/newview/llfloatersnapshot.cpp
+++ b/indra/newview/llfloatersnapshot.cpp
@@ -2084,10 +2084,6 @@ void LLFloaterSnapshot::draw()
S32 offset_x = (getRect().getWidth() - previewp->getThumbnailWidth()) / 2 ;
S32 offset_y = thumbnail_rect.mBottom + (thumbnail_rect.getHeight() - previewp->getThumbnailHeight()) / 2 ;
- if (! gSavedSettings.getBOOL("AdvanceSnapshot"))
- {
- offset_y += getUIWinHeightShort() - getUIWinHeightLong();
- }
glMatrixMode(GL_MODELVIEW);
gl_draw_scaled_image(offset_x, offset_y,