Skip to content

Commit 939817d

Browse files
committed
#3849 Crash at LLSelectMgr::updatePointAt
1 parent 8c20662 commit 939817d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

indra/newview/llselectmgr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7513,7 +7513,7 @@ void LLSelectMgr::updatePointAt()
75137513
LLVector3 select_offset;
75147514
const LLPickInfo& pick = gViewerWindow->getLastPick();
75157515
LLViewerObject *click_object = pick.getObject();
7516-
bool was_hud = pick.mPickHUD && !click_object->isHUDAttachment();
7516+
bool was_hud = pick.mPickHUD && click_object && !click_object->isHUDAttachment();
75177517
if (click_object && click_object->isSelected() && !was_hud)
75187518
{
75197519
// clicked on another object in our selection group, use that as target

0 commit comments

Comments
 (0)