summaryrefslogtreecommitdiff
path: root/indra/newview/llselectmgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llselectmgr.cpp')
-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 268ea8c363..046029ea1e 100644
--- a/indra/newview/llselectmgr.cpp
+++ b/indra/newview/llselectmgr.cpp
@@ -5532,7 +5532,7 @@ void LLSelectMgr::updateSelectionCenter()
}
}
- if ( !(gAgentID == LLUUID::null) )
+ if ( !(gAgentID == LLUUID::null) && gToolMgr)
{
LLTool *tool = gToolMgr->getCurrentTool();
if (mShowSelection)