From da0a092d42ac7bed44517afcfbe27536cca3945b Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Sun, 29 Sep 2013 11:14:00 -0400 Subject: [PATCH] [VarRegions] Fix Issue 1125: Chat Window Links open up browser --- indra/newview/llagentui.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/indra/newview/llagentui.cpp b/indra/newview/llagentui.cpp index 0fcc5fb2b..d8ab02436 100644 --- a/indra/newview/llagentui.cpp +++ b/indra/newview/llagentui.cpp @@ -56,7 +56,8 @@ void LLAgentUI::buildSLURL(LLSLURL& slurl, const bool escaped /*= true*/) LLViewerRegion *regionp = gAgent.getRegion(); if (regionp) { - return_slurl = LLSLURL(regionp->getName(), gAgent.getPositionGlobal()); + // Singu Note: Not Global, get correct SLURL for Variable Regions + return_slurl = LLSLURL(regionp->getName(), gAgent.getPositionAgent()); } slurl = return_slurl; }