summaryrefslogtreecommitdiff
path: root/indra/newview/llworldmapview.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2019-09-26 19:24:54 +0300
committerAndreyL ProductEngine <alihatskiy@productengine.com>2019-09-26 19:24:54 +0300
commit7c9e92f49402d0dca29357161d6a6b1eb16d7ab7 (patch)
tree660cf5dc24f8eec801dd754994ce49e39ed3e1bc /indra/newview/llworldmapview.cpp
parent7829b4d3f46ff21d1d932b06f4721760ebbde014 (diff)
SL-12016 Mini-map avatar icon (Z-position) fix
Diffstat (limited to 'indra/newview/llworldmapview.cpp')
-rw-r--r--indra/newview/llworldmapview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llworldmapview.cpp b/indra/newview/llworldmapview.cpp
index 86249badaa..853da80e9e 100644
--- a/indra/newview/llworldmapview.cpp
+++ b/indra/newview/llworldmapview.cpp
@@ -1154,7 +1154,7 @@ void LLWorldMapView::drawAvatar(F32 x_pixels,
{
const F32 HEIGHT_THRESHOLD = 7.f;
LLUIImagePtr dot_image = sAvatarLevelImage;
- if (unknown_relative_z)
+ if (unknown_relative_z && llabs(relative_z) > HEIGHT_THRESHOLD)
{
dot_image = sAvatarUnknownImage;
}