diff options
author | Steven Bennetts <steve@lindenlab.com> | 2007-12-03 19:36:44 +0000 |
---|---|---|
committer | Steven Bennetts <steve@lindenlab.com> | 2007-12-03 19:36:44 +0000 |
commit | d5eef2d8a6cc0d5855d68d0726565e07d46211b2 (patch) | |
tree | 0138cd5a59971a52b20627f28af4197198f4e2f9 /indra/newview/llfloaterreporter.cpp | |
parent | 7b7dd4e6f61aa731ef7f9f255014f5b76d5b9fec (diff) |
merge -r 73391:74133 maint-ui-3 -> release
Diffstat (limited to 'indra/newview/llfloaterreporter.cpp')
-rw-r--r-- | indra/newview/llfloaterreporter.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/indra/newview/llfloaterreporter.cpp b/indra/newview/llfloaterreporter.cpp index bd5438e10f..9170e70ccd 100644 --- a/indra/newview/llfloaterreporter.cpp +++ b/indra/newview/llfloaterreporter.cpp @@ -131,12 +131,7 @@ LLFloaterReporter::LLFloaterReporter( gUICtrlFactory->buildFloater(this, "floater_report_abuse.xml"); } - LLViewerRegion *regionp = gAgent.getRegion(); - if (regionp) - { - childSetText("sim_field", regionp->getName() ); - childSetText("abuse_location_edit", regionp->getName() ); - } + childSetText("abuse_location_edit", gAgent.getSLURL() ); LLButton* pick_btn = LLUICtrlFactory::getButtonByName(this, "pick_btn"); if (pick_btn) @@ -163,6 +158,7 @@ LLFloaterReporter::LLFloaterReporter( // convert the position to a string LLVector3d pos = gAgent.getPositionGlobal(); + LLViewerRegion *regionp = gAgent.getRegion(); if (regionp) { pos -= regionp->getOriginGlobal(); |