diff options
author | Jacek Antonelli | 2008-08-15 23:45:27 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:27 -0500 |
commit | a8a62201ba762e98dff92cf49033e577fc34d8d4 (patch) | |
tree | 11f8513c5cdc222f2fac0c93eb724c089803c200 /linden/indra/newview/llfloatertopobjects.cpp | |
parent | Second Life viewer sources 1.18.6.4-RC (diff) | |
download | meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.zip meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.gz meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.bz2 meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.xz |
Second Life viewer sources 1.19.0.0
Diffstat (limited to 'linden/indra/newview/llfloatertopobjects.cpp')
-rw-r--r-- | linden/indra/newview/llfloatertopobjects.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linden/indra/newview/llfloatertopobjects.cpp b/linden/indra/newview/llfloatertopobjects.cpp index 7ab17e0..631c92d 100644 --- a/linden/indra/newview/llfloatertopobjects.cpp +++ b/linden/indra/newview/llfloatertopobjects.cpp | |||
@@ -12,12 +12,12 @@ | |||
12 | * ("GPL"), unless you have obtained a separate licensing agreement | 12 | * ("GPL"), unless you have obtained a separate licensing agreement |
13 | * ("Other License"), formally executed by you and Linden Lab. Terms of | 13 | * ("Other License"), formally executed by you and Linden Lab. Terms of |
14 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | 14 | * the GPL can be found in doc/GPL-license.txt in this distribution, or |
15 | * online at http://secondlife.com/developers/opensource/gplv2 | 15 | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 |
16 | * | 16 | * |
17 | * There are special exceptions to the terms and conditions of the GPL as | 17 | * There are special exceptions to the terms and conditions of the GPL as |
18 | * it is applied to this Source Code. View the full text of the exception | 18 | * it is applied to this Source Code. View the full text of the exception |
19 | * in the file doc/FLOSS-exception.txt in this software distribution, or | 19 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
20 | * online at http://secondlife.com/developers/opensource/flossexception | 20 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception |
21 | * | 21 | * |
22 | * By copying, modifying or distributing this software, you acknowledge | 22 | * By copying, modifying or distributing this software, you acknowledge |
23 | * that you have read and understood your obligations described above, | 23 | * that you have read and understood your obligations described above, |
@@ -257,8 +257,8 @@ void LLFloaterTopObjects::updateSelectionInfo() | |||
257 | std::string object_id_string = object_id.asString(); | 257 | std::string object_id_string = object_id.asString(); |
258 | 258 | ||
259 | childSetValue("id_editor", LLSD(object_id_string)); | 259 | childSetValue("id_editor", LLSD(object_id_string)); |
260 | childSetValue("object_name_editor", list->getFirstSelected()->getColumn(1)->getText()); | 260 | childSetValue("object_name_editor", list->getFirstSelected()->getColumn(1)->getValue().asString()); |
261 | childSetValue("owner_name_editor", list->getFirstSelected()->getColumn(2)->getText()); | 261 | childSetValue("owner_name_editor", list->getFirstSelected()->getColumn(2)->getValue().asString()); |
262 | } | 262 | } |
263 | 263 | ||
264 | // static | 264 | // static |
@@ -451,8 +451,8 @@ void LLFloaterTopObjects::showBeacon() | |||
451 | LLScrollListItem* first_selected = list->getFirstSelected(); | 451 | LLScrollListItem* first_selected = list->getFirstSelected(); |
452 | if (!first_selected) return; | 452 | if (!first_selected) return; |
453 | 453 | ||
454 | LLString name = first_selected->getColumn(1)->getText(); | 454 | LLString name = first_selected->getColumn(1)->getValue().asString(); |
455 | LLString pos_string = first_selected->getColumn(3)->getText(); | 455 | LLString pos_string = first_selected->getColumn(3)->getValue().asString(); |
456 | 456 | ||
457 | F32 x, y, z; | 457 | F32 x, y, z; |
458 | S32 matched = sscanf(pos_string.c_str(), "<%g,%g,%g>", &x, &y, &z); | 458 | S32 matched = sscanf(pos_string.c_str(), "<%g,%g,%g>", &x, &y, &z); |