aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloatersnapshot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfloatersnapshot.cpp')
-rw-r--r--linden/indra/newview/llfloatersnapshot.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/linden/indra/newview/llfloatersnapshot.cpp b/linden/indra/newview/llfloatersnapshot.cpp
index 8b104a3..7cb92ff 100644
--- a/linden/indra/newview/llfloatersnapshot.cpp
+++ b/linden/indra/newview/llfloatersnapshot.cpp
@@ -678,15 +678,17 @@ void LLSnapshotLivePreview::saveTexture()
678 LLVFile::writeFile(formatted->getData(), formatted->getDataSize(), gVFS, new_asset_id, LLAssetType::AT_TEXTURE); 678 LLVFile::writeFile(formatted->getData(), formatted->getDataSize(), gVFS, new_asset_id, LLAssetType::AT_TEXTURE);
679 std::string pos_string; 679 std::string pos_string;
680 gAgent.buildLocationString(pos_string); 680 gAgent.buildLocationString(pos_string);
681 std::string who_took_it;
682 gAgent.buildFullname(who_took_it);
681 upload_new_resource(tid, // tid 683 upload_new_resource(tid, // tid
682 LLAssetType::AT_TEXTURE, 684 LLAssetType::AT_TEXTURE,
683 "Snapshot", 685 "Snapshot : " + pos_string,
684 pos_string, 686 "Taken by " + who_took_it + " at " + pos_string,
685 0, 687 0,
686 LLAssetType::AT_SNAPSHOT_CATEGORY, 688 LLAssetType::AT_SNAPSHOT_CATEGORY,
687 LLInventoryType::IT_SNAPSHOT, 689 LLInventoryType::IT_SNAPSHOT,
688 PERM_ALL, 690 PERM_ALL,
689 "Snapshot"); 691 "Snapshot : " + pos_string);
690 } 692 }
691 else 693 else
692 { 694 {