summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerwindow.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2024-07-10 16:10:10 +0300
committerGitHub <noreply@github.com>2024-07-10 16:10:10 +0300
commit89e7ca66cbadd9b5a3b31e6d12e310b1c7a3c5c1 (patch)
tree101de52bbbc548d61e864e86347decc4ad503916 /indra/newview/llviewerwindow.cpp
parente2122fcb60ceef5273f4f51fa3c53228ddc56ff5 (diff)
parent98761798b9a118c46e5482b1f36fef1260c9c5f9 (diff)
Merge pull request #1939 from secondlife/lua-snapshot
Lua api for Snapshot and demo script
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r--indra/newview/llviewerwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index b637bcbdac..9f60f71d28 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -4840,7 +4840,7 @@ BOOL LLViewerWindow::saveSnapshot(const std::string& filepath, S32 image_width,
LL_INFOS() << "Saving snapshot to: " << filepath << LL_ENDL;
LLPointer<LLImageRaw> raw = new LLImageRaw;
- BOOL success = rawSnapshot(raw, image_width, image_height, TRUE, FALSE, show_ui, show_hud, do_rebuild);
+ BOOL success = rawSnapshot(raw, image_width, image_height, TRUE, FALSE, show_ui, show_hud, do_rebuild, 0, type);
if (success)
{