summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersnapshot.cpp
diff options
context:
space:
mode:
authorRuslan Teliuk <ruslantproductengine@lindenlab.com>2019-07-12 14:21:04 +0000
committerRuslan Teliuk <ruslantproductengine@lindenlab.com>2019-07-12 14:21:04 +0000
commit3c0469cbbde1dc8c5f691443a50bf9bc41b0ae99 (patch)
tree052ea645030d0aef8167bf484d37533118dc672e /indra/newview/llfloatersnapshot.cpp
parentf69db2616b032adf55bc696dcef12d4a7fb88b8a (diff)
parent9c966e51daaec60afe6338bc5a9d0a3579050e24 (diff)
Merged in ruslantproductengine/viewer-cougar-4cr-5 (pull request #59)
SL-11435 When ALM is enabled, Depth mode shots are broken when snapshot size is set to anything above current window size Approved-by: Simon Linden <simon@lindenlab.com> Approved-by: Andrey Lihatskiy <andreylproductengine@lindenlab.com>
Diffstat (limited to 'indra/newview/llfloatersnapshot.cpp')
-rw-r--r--indra/newview/llfloatersnapshot.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llfloatersnapshot.cpp b/indra/newview/llfloatersnapshot.cpp
index c08aaf3f50..a7931137b0 100644
--- a/indra/newview/llfloatersnapshot.cpp
+++ b/indra/newview/llfloatersnapshot.cpp
@@ -784,6 +784,7 @@ void LLFloaterSnapshot::Impl::onCommitLayerTypes(LLUICtrl* ctrl, void*data)
previewp->setSnapshotBufferType((LLSnapshotModel::ESnapshotLayerType)combobox->getCurrentIndex());
}
view->impl->checkAutoSnapshot(previewp, TRUE);
+ previewp->updateSnapshot(TRUE, TRUE);
}
}