Allow oversized images when performing raw snapshots.

This commit is contained in:
Shyotl
2020-02-29 22:51:45 -06:00
parent 34f6ea4db2
commit d2d172f6ec

View File

@@ -575,6 +575,7 @@ class LLFileTakeSnapshotToDisk : public view_listener_t
bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
{
LLPointer<LLImageRaw> raw = new LLImageRaw;
raw->enableOverSize();
S32 width = gViewerWindow->getWindowDisplayWidth();
S32 height = gViewerWindow->getWindowDisplayHeight();