summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersnapshot.cpp
diff options
context:
space:
mode:
authorgabriel lee <gabriel@lindenlab.com>2010-02-02 10:58:47 +0000
committergabriel lee <gabriel@lindenlab.com>2010-02-02 10:58:47 +0000
commit95d0df4ab05c4cfcc78f684ab28d36b9cc84410e (patch)
treeb1621cd22044edade98019af9d1b77383e3b88ef /indra/newview/llfloatersnapshot.cpp
parent5dfdb0d5a41143512180390193ce79644bcb9469 (diff)
parent4ad357ec70e15afdfe78816990cb23c7ba17619c (diff)
merged back my last changes
Diffstat (limited to 'indra/newview/llfloatersnapshot.cpp')
-rw-r--r--indra/newview/llfloatersnapshot.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llfloatersnapshot.cpp b/indra/newview/llfloatersnapshot.cpp
index a0031f0193..b6e9fb3f6c 100644
--- a/indra/newview/llfloatersnapshot.cpp
+++ b/indra/newview/llfloatersnapshot.cpp
@@ -2084,6 +2084,10 @@ 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,