From deade4438d83e89f7786b22f311ed1f1140ca7e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Liru=20F=C3=A6rs?= Date: Mon, 20 Jan 2020 20:02:42 -0500 Subject: [PATCH] Fix login favorites and copy Landmark SLURL missing z-axis (height) --- indra/newview/lllandmarkactions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/newview/lllandmarkactions.cpp b/indra/newview/lllandmarkactions.cpp index ba1ba95b5..7652164d9 100644 --- a/indra/newview/lllandmarkactions.cpp +++ b/indra/newview/lllandmarkactions.cpp @@ -289,6 +289,7 @@ LLVector3d getRegionPosFromGlobalPos(const LLVector3d& global_pos, const LLSimIn LLVector3d local_pos; local_pos[0] = fmod(global_pos[0], siminfo ? siminfo->getSizeX() : 256); local_pos[1] = fmod(global_pos[1], siminfo ? siminfo->getSizeY() : 256); + local_pos[2] = global_pos[2]; return local_pos; }