summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2025-04-01 21:16:38 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-04-01 22:13:54 +0300
commit939817d560434cdc2888ef478b965f5625a381b7 (patch)
treeb9d45e346c325d0bef854693b43cf3286f3be1f1
parent8c20662ff77a9672917aa127f80a2fa9efda7119 (diff)
#3849 Crash at LLSelectMgr::updatePointAt
-rw-r--r--indra/newview/llselectmgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp
index 3d17446186..be1e64ce54 100644
--- a/indra/newview/llselectmgr.cpp
+++ b/indra/newview/llselectmgr.cpp
@@ -7513,7 +7513,7 @@ void LLSelectMgr::updatePointAt()
LLVector3 select_offset;
const LLPickInfo& pick = gViewerWindow->getLastPick();
LLViewerObject *click_object = pick.getObject();
- bool was_hud = pick.mPickHUD && !click_object->isHUDAttachment();
+ bool was_hud = pick.mPickHUD && click_object && !click_object->isHUDAttachment();
if (click_object && click_object->isSelected() && !was_hud)
{
// clicked on another object in our selection group, use that as target