From 984cc0788dd0bde032eab993293db2131b51a26f Mon Sep 17 00:00:00 2001 From: andreykproductengine Date: Thu, 29 May 2014 19:19:41 +0300 Subject: MAINT-3504 FIXED Avatar cannot move after TPing into region he nearly crossed into --- indra/newview/llagent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index 8914379073..cf09a410bd 100755 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -4001,7 +4001,7 @@ void LLAgent::teleportRequest( bool look_at_from_camera) { LLViewerRegion* regionp = getRegion(); - bool is_local = (region_handle == to_region_handle(getPositionGlobal())); + bool is_local = (region_handle == regionp->getHandle()); if(regionp && teleportCore(is_local)) { LL_INFOS("") << "TeleportLocationRequest: '" << region_handle << "':" -- cgit v1.2.3