diff options
author | gabriel lee <gabriel@lindenlab.com> | 2010-02-02 10:58:47 +0000 |
---|---|---|
committer | gabriel lee <gabriel@lindenlab.com> | 2010-02-02 10:58:47 +0000 |
commit | 95d0df4ab05c4cfcc78f684ab28d36b9cc84410e (patch) | |
tree | b1621cd22044edade98019af9d1b77383e3b88ef /indra/newview/llfloatersnapshot.cpp | |
parent | 5dfdb0d5a41143512180390193ce79644bcb9469 (diff) | |
parent | 4ad357ec70e15afdfe78816990cb23c7ba17619c (diff) |
merged back my last changes
Diffstat (limited to 'indra/newview/llfloatersnapshot.cpp')
-rw-r--r-- | indra/newview/llfloatersnapshot.cpp | 4 |
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, |