aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llagent.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llagent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llagent.cpp b/linden/indra/newview/llagent.cpp
index 09d65d1..85a1b36 100644
--- a/linden/indra/newview/llagent.cpp
+++ b/linden/indra/newview/llagent.cpp
@@ -6155,7 +6155,7 @@ void LLAgent::setHomePosRegion( const U64& region_handle, const LLVector3& pos_r
6155 6155
6156void LLAgent::takeHomeScreenshot() 6156void LLAgent::takeHomeScreenshot()
6157{ 6157{
6158 std::string snap_filename = gDirUtilp->getLindenUserDir(); 6158 std::string snap_filename = gDirUtilp->getViewerUserDir();
6159 snap_filename += gDirUtilp->getDirDelimiter(); 6159 snap_filename += gDirUtilp->getDirDelimiter();
6160 snap_filename += SCREEN_HOME_FILENAME; 6160 snap_filename += SCREEN_HOME_FILENAME;
6161 gViewerWindow->saveSnapshot(snap_filename, gViewerWindow->getWindowDisplayWidth(), gViewerWindow->getWindowDisplayHeight(), FALSE, FALSE); 6161 gViewerWindow->saveSnapshot(snap_filename, gViewerWindow->getWindowDisplayWidth(), gViewerWindow->getWindowDisplayHeight(), FALSE, FALSE);