aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llagent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llagent.cpp')
-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 54b71eb..dd74cde 100644
--- a/linden/indra/newview/llagent.cpp
+++ b/linden/indra/newview/llagent.cpp
@@ -6136,7 +6136,7 @@ void LLAgent::setHomePosRegion( const U64& region_handle, const LLVector3& pos_r
6136 6136
6137void LLAgent::takeHomeScreenshot() 6137void LLAgent::takeHomeScreenshot()
6138{ 6138{
6139 std::string snap_filename = gDirUtilp->getLindenUserDir(); 6139 std::string snap_filename = gDirUtilp->getViewerUserDir();
6140 snap_filename += gDirUtilp->getDirDelimiter(); 6140 snap_filename += gDirUtilp->getDirDelimiter();
6141 snap_filename += SCREEN_HOME_FILENAME; 6141 snap_filename += SCREEN_HOME_FILENAME;
6142 gViewerWindow->saveSnapshot(snap_filename, gViewerWindow->getWindowDisplayWidth(), gViewerWindow->getWindowDisplayHeight(), FALSE, FALSE); 6142 gViewerWindow->saveSnapshot(snap_filename, gViewerWindow->getWindowDisplayWidth(), gViewerWindow->getWindowDisplayHeight(), FALSE, FALSE);