From 7b54f077b48740c69559c0a2089b6133ed8eb605 Mon Sep 17 00:00:00 2001 From: Alexander Gavriliuk Date: Tue, 5 Sep 2023 01:22:15 +0200 Subject: SL-19887 Water cuts avatar's name bubble (update) --- indra/newview/llvoavatar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3