summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersnapshot.cpp
diff options
context:
space:
mode:
authorruslantproductengine <ruslantproductengine@lindenlab.com>2019-07-11 20:30:30 +0300
committerruslantproductengine <ruslantproductengine@lindenlab.com>2019-07-11 20:30:30 +0300
commit9c966e51daaec60afe6338bc5a9d0a3579050e24 (patch)
treefe8efa3f05a1750087d44a7ebc661a2b504f008f /indra/newview/llfloatersnapshot.cpp
parent293d186190d34b537a051397266b04fb1b5bb786 (diff)
SL-11435 When ALM is enabled, Depth mode shots are broken when snapshot size is set to anything above current window size
- fixed bug described in the ticket - fixed bug with UI (when user change the layer type (color/depth))
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);
}
}