diff options
author | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
commit | cd17687f01420952712a500107e0f93e7ab8d5f8 (patch) | |
tree | ce48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/newview/llfloaterreporter.cpp | |
parent | Second Life viewer sources 1.19.0.5 (diff) | |
download | meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2 meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz |
Second Life viewer sources 1.19.1.0
Diffstat (limited to 'linden/indra/newview/llfloaterreporter.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterreporter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llfloaterreporter.cpp b/linden/indra/newview/llfloaterreporter.cpp index f0af5d0..5c076f0 100644 --- a/linden/indra/newview/llfloaterreporter.cpp +++ b/linden/indra/newview/llfloaterreporter.cpp | |||
@@ -861,7 +861,7 @@ void LLFloaterReporter::takeScreenshot() | |||
861 | const S32 IMAGE_HEIGHT = 768; | 861 | const S32 IMAGE_HEIGHT = 768; |
862 | 862 | ||
863 | LLPointer<LLImageRaw> raw = new LLImageRaw; | 863 | LLPointer<LLImageRaw> raw = new LLImageRaw; |
864 | if( !gViewerWindow->rawSnapshot(raw, IMAGE_WIDTH, IMAGE_HEIGHT, TRUE, TRUE, FALSE)) | 864 | if( !gViewerWindow->rawSnapshot(raw, IMAGE_WIDTH, IMAGE_HEIGHT, TRUE, FALSE, TRUE, FALSE)) |
865 | { | 865 | { |
866 | llwarns << "Unable to take screenshot" << llendl; | 866 | llwarns << "Unable to take screenshot" << llendl; |
867 | return; | 867 | return; |
@@ -903,7 +903,7 @@ void LLFloaterReporter::takeScreenshot() | |||
903 | gImageList.addImage(image_in_list); | 903 | gImageList.addImage(image_in_list); |
904 | 904 | ||
905 | // the texture picker then uses that texture | 905 | // the texture picker then uses that texture |
906 | LLTexturePicker* texture = LLUICtrlFactory::getTexturePickerByName(this, "screenshot"); | 906 | LLTexturePicker* texture = getChild<LLTextureCtrl>("screenshot"); |
907 | if (texture) | 907 | if (texture) |
908 | { | 908 | { |
909 | texture->setImageAssetID(mResourceDatap->mAssetInfo.mUuid); | 909 | texture->setImageAssetID(mResourceDatap->mAssetInfo.mUuid); |