diff --git a/indra/newview/lltoolpie.cpp b/indra/newview/lltoolpie.cpp index 5c35454b9..aaa4f5e77 100644 --- a/indra/newview/lltoolpie.cpp +++ b/indra/newview/lltoolpie.cpp @@ -391,6 +391,11 @@ BOOL LLToolPie::pickAndShowMenu(BOOL always_show) object = (LLViewerObject*)object->getParent(); } + if (!object) + { + return TRUE; // unexpected, but escape + } + // Object is an avatar, so check for mute by id. LLVOAvatar* avatar = (LLVOAvatar*)object; std::string name = avatar->getFullname();