summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersnapshot.cpp
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2016-11-03 16:49:08 +0200
committerandreykproductengine <akleshchev@productengine.com>2016-11-03 16:49:08 +0200
commita471a8e400684e62ab63c21f9044194c0b3f23ac (patch)
treeeb58e8f1ad0f95c8d5b52de7a7431d8b3701206d /indra/newview/llfloatersnapshot.cpp
parenta210ae50b03bae60e825b76c200980a31c9c93d8 (diff)
MAINT-6580 Snapshot becomes blank after changing the size of Second Life window
Diffstat (limited to 'indra/newview/llfloatersnapshot.cpp')
-rw-r--r--indra/newview/llfloatersnapshot.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llfloatersnapshot.cpp b/indra/newview/llfloatersnapshot.cpp
index b5ba64716d..c0980719bb 100644
--- a/indra/newview/llfloatersnapshot.cpp
+++ b/indra/newview/llfloatersnapshot.cpp
@@ -762,7 +762,8 @@ void LLFloaterSnapshot::Impl::updateResolution(LLUICtrl* ctrl, void* data, BOOL
// hide old preview as the aspect ratio could be wrong
checkAutoSnapshot(previewp, FALSE);
LL_DEBUGS() << "updating thumbnail" << LL_ENDL;
- getPreviewView()->updateSnapshot(TRUE);
+ // Don't update immediately, give window chance to redraw
+ getPreviewView()->updateSnapshot(TRUE, FALSE, 1.f);
if(do_update)
{
LL_DEBUGS() << "Will update controls" << LL_ENDL;