summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2023-09-05 01:22:15 +0200
committerAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2023-09-05 01:22:15 +0200
commit7b54f077b48740c69559c0a2089b6133ed8eb605 (patch)
tree602d96a375901e91416cd9f02094a850bae19c81 /indra
parent77014892e61d2a737160b5db6351442f568bc4f6 (diff)
SL-19887 Water cuts avatar's name bubble (update)
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llvoavatar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 2bb032ed1a..4fd1d74644 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -3627,7 +3627,7 @@ LLVector3 LLVOAvatar::idleCalcNameTagPosition(const LLVector3 &root_pos_last)
{
name_position[VZ] = water_height;
}
- else // both camera and HUD are below watermark
+ else if (mNameText) // both camera and HUD are below watermark
{
F32 name_world_height = mNameText->getWorldHeight();
F32 max_z_position = water_height - name_world_height;