diff options
author | Jacek Antonelli | 2009-05-25 18:21:46 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-05-25 18:38:37 -0500 |
commit | 2099a7a2287be16d861962fb19bf48a38f8d923c (patch) | |
tree | 6bb721965f80543d6edf2f6307e1f2b6cfe6a1f5 | |
parent | Added Teleport Home confirmation and callback methods. (diff) | |
download | meta-impy-2099a7a2287be16d861962fb19bf48a38f8d923c.zip meta-impy-2099a7a2287be16d861962fb19bf48a38f8d923c.tar.gz meta-impy-2099a7a2287be16d861962fb19bf48a38f8d923c.tar.bz2 meta-impy-2099a7a2287be16d861962fb19bf48a38f8d923c.tar.xz |
User-initiated Teleport Home has confirmation dialog.
That's in the World menu and on the world map.
Diffstat (limited to '')
-rw-r--r-- | ChangeLog.txt | 9 | ||||
-rw-r--r-- | linden/indra/newview/llfloaterworldmap.cpp | 3 | ||||
-rw-r--r-- | linden/indra/newview/llviewermenu.cpp | 2 |
3 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index d7048ad..cb5b323 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -1,3 +1,12 @@ | |||
1 | 2009-05-25 Jacek Antonelli <jacek.antonelli@gmail.com> | ||
2 | |||
3 | * linden/indra/newview/llfloaterworldmap.cpp: | ||
4 | User-initiated Teleport Home has confirmation dialog. | ||
5 | That's in the World menu and on the world map. | ||
6 | * linden/indra/newview/llviewermenu.cpp: | ||
7 | Ditto. | ||
8 | |||
9 | |||
1 | 2009-05-24 Jacek Antonelli <jacek.antonelli@gmail.com> | 10 | 2009-05-24 Jacek Antonelli <jacek.antonelli@gmail.com> |
2 | 11 | ||
3 | * linden/indra/newview/llagent.cpp: | 12 | * linden/indra/newview/llagent.cpp: |
diff --git a/linden/indra/newview/llfloaterworldmap.cpp b/linden/indra/newview/llfloaterworldmap.cpp index 8396454..66b2813 100644 --- a/linden/indra/newview/llfloaterworldmap.cpp +++ b/linden/indra/newview/llfloaterworldmap.cpp | |||
@@ -1052,8 +1052,7 @@ void LLFloaterWorldMap::onPanBtn( void* userdata ) | |||
1052 | // static | 1052 | // static |
1053 | void LLFloaterWorldMap::onGoHome(void*) | 1053 | void LLFloaterWorldMap::onGoHome(void*) |
1054 | { | 1054 | { |
1055 | gAgent.teleportHome(); | 1055 | gAgent.teleportHomeConfirm(); |
1056 | gFloaterWorldMap->close(); | ||
1057 | } | 1056 | } |
1058 | 1057 | ||
1059 | 1058 | ||
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp index 486e4f1..37f9ad2 100644 --- a/linden/indra/newview/llviewermenu.cpp +++ b/linden/indra/newview/llviewermenu.cpp | |||
@@ -4686,7 +4686,7 @@ class LLWorldTeleportHome : public view_listener_t | |||
4686 | { | 4686 | { |
4687 | bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) | 4687 | bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) |
4688 | { | 4688 | { |
4689 | gAgent.teleportHome(); | 4689 | gAgent.teleportHomeConfirm(); |
4690 | return true; | 4690 | return true; |
4691 | } | 4691 | } |
4692 | }; | 4692 | }; |