diff options
author | Cho <cho@lindenlab.com> | 2013-06-05 23:53:25 +0100 |
---|---|---|
committer | Cho <cho@lindenlab.com> | 2013-06-05 23:53:25 +0100 |
commit | 0e6306e70dd5484cbb5c467a6ffc5f520f511489 (patch) | |
tree | ab452a568932c88645580957065d2ff245d17bfd /indra/newview/llagentui.cpp | |
parent | 4d162e1ec2cd716f40666056bb9e2710958e3360 (diff) | |
parent | faf99f2e1c88f281836c555d9fa6886d45f13751 (diff) |
merge
Diffstat (limited to 'indra/newview/llagentui.cpp')
-rwxr-xr-x | indra/newview/llagentui.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/llagentui.cpp b/indra/newview/llagentui.cpp index b9ec304b7e..3410a37890 100755 --- a/indra/newview/llagentui.cpp +++ b/indra/newview/llagentui.cpp @@ -112,6 +112,11 @@ BOOL LLAgentUI::buildLocationString(std::string& str, ELocationFormat fmt,const case LOCATION_FORMAT_NORMAL: buffer = llformat("%s", region_name.c_str()); break; + case LOCATION_FORMAT_NORMAL_COORDS: + buffer = llformat("%s (%d, %d, %d)", + region_name.c_str(), + pos_x, pos_y, pos_z); + break; case LOCATION_FORMAT_NO_COORDS: buffer = llformat("%s%s%s", region_name.c_str(), @@ -143,6 +148,11 @@ BOOL LLAgentUI::buildLocationString(std::string& str, ELocationFormat fmt,const case LOCATION_FORMAT_NORMAL: buffer = llformat("%s, %s", parcel_name.c_str(), region_name.c_str()); break; + case LOCATION_FORMAT_NORMAL_COORDS: + buffer = llformat("%s (%d, %d, %d)", + parcel_name.c_str(), + pos_x, pos_y, pos_z); + break; case LOCATION_FORMAT_NO_MATURITY: buffer = llformat("%s, %s (%d, %d, %d)", parcel_name.c_str(), |