aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
authorunknown2009-01-10 09:55:57 -0700
committerunknown2009-01-10 09:55:57 -0700
commit58591377dd9f40b886ab16621a9fecd690806c22 (patch)
treedeaa4eebfe81b57caf0c52ab5ee18a10c6bcb6e1 /linden/indra/newview/llviewermenu.cpp
parentFixed changelog date (2009 not 2008). (diff)
downloadmeta-impy-58591377dd9f40b886ab16621a9fecd690806c22.zip
meta-impy-58591377dd9f40b886ab16621a9fecd690806c22.tar.gz
meta-impy-58591377dd9f40b886ab16621a9fecd690806c22.tar.bz2
meta-impy-58591377dd9f40b886ab16621a9fecd690806c22.tar.xz
added shortcut and message to landmark creation
Diffstat (limited to 'linden/indra/newview/llviewermenu.cpp')
-rw-r--r--linden/indra/newview/llviewermenu.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp
index 3bf390e..049f0d1 100644
--- a/linden/indra/newview/llviewermenu.cpp
+++ b/linden/indra/newview/llviewermenu.cpp
@@ -146,13 +146,14 @@
146#include "llinventorymodel.h" 146#include "llinventorymodel.h"
147#include "llinventoryview.h" 147#include "llinventoryview.h"
148#include "llkeyboard.h" 148#include "llkeyboard.h"
149#include "llpanellogin.h" 149#include "lllineeditor.h"
150#include "llmenucommands.h" 150#include "llmenucommands.h"
151#include "llmenugl.h" 151#include "llmenugl.h"
152#include "llmorphview.h" 152#include "llmorphview.h"
153#include "llmoveview.h" 153#include "llmoveview.h"
154#include "llmutelist.h" 154#include "llmutelist.h"
155#include "llnotify.h" 155#include "llnotify.h"
156#include "llpanellogin.h"
156#include "llpanelobject.h" 157#include "llpanelobject.h"
157#include "llparcel.h" 158#include "llparcel.h"
158#include "llprimitive.h" 159#include "llprimitive.h"
@@ -174,6 +175,7 @@
174#include "lltoolpie.h" 175#include "lltoolpie.h"
175#include "lltoolplacer.h" 176#include "lltoolplacer.h"
176#include "lltoolselectland.h" 177#include "lltoolselectland.h"
178#include "lltrans.h"
177#include "lluictrlfactory.h" 179#include "lluictrlfactory.h"
178#include "lluploaddialog.h" 180#include "lluploaddialog.h"
179#include "lluserauth.h" 181#include "lluserauth.h"
@@ -4874,10 +4876,17 @@ class LLWorldCreateLandmark : public view_listener_t
4874 return true; 4876 return true;
4875 } 4877 }
4876 4878
4879 LLChat chat;
4880
4877 LLUUID folder_id; 4881 LLUUID folder_id;
4878 folder_id = gInventory.findCategoryUUIDForType(LLAssetType::AT_LANDMARK); 4882 folder_id = gInventory.findCategoryUUIDForType(LLAssetType::AT_LANDMARK);
4879 std::string pos_string; 4883 std::string pos_string;
4880 gAgent.buildLocationString(pos_string); 4884 gAgent.buildLocationString(pos_string);
4885
4886 std::string log_message = LLTrans::getString("landmark_created") + " ";
4887 log_message += pos_string;
4888 chat.mText = log_message;
4889 LLFloaterChat::addChat(chat, FALSE, FALSE);
4881 4890
4882 create_inventory_item(gAgent.getID(), gAgent.getSessionID(), 4891 create_inventory_item(gAgent.getID(), gAgent.getSessionID(),
4883 folder_id, LLTransactionID::tnull, 4892 folder_id, LLTransactionID::tnull,