summaryrefslogtreecommitdiff
path: root/indra/newview/lltoolplacer.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-12-12 23:32:34 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-02-28 00:02:02 +0200
commit4214ab8e79809412fdec626fa5f914723e6d4704 (patch)
tree0d1f34048e786a34ab61d9fe3bec4db42859de86 /indra/newview/lltoolplacer.cpp
parentd81f3dcfc276263a0bc3aea5efe01d383b82229d (diff)
#3280 Fix crashes at gFloaterTools
Likely specific to headless client
Diffstat (limited to 'indra/newview/lltoolplacer.cpp')
-rw-r--r--indra/newview/lltoolplacer.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/lltoolplacer.cpp b/indra/newview/lltoolplacer.cpp
index b15bb5efd5..0d141d7545 100644
--- a/indra/newview/lltoolplacer.cpp
+++ b/indra/newview/lltoolplacer.cpp
@@ -527,7 +527,10 @@ bool LLToolPlacer::handleHover(S32 x, S32 y, MASK mask)
void LLToolPlacer::handleSelect()
{
- gFloaterTools->setStatusText("place");
+ if (gFloaterTools)
+ {
+ gFloaterTools->setStatusText("place");
+ }
}
void LLToolPlacer::handleDeselect()