diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-07-19 11:59:02 +0300 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-07-19 11:59:02 +0300 |
commit | f796c33d43b03e2ebd7ccdf4ee3c09da858263eb (patch) | |
tree | 0556b3d9ff28926cfc47882c6758a8dfbdce6d0a /indra/newview | |
parent | ef148a73aaacf0f6276a236180cdeaf43615fc31 (diff) |
MAINT-8844 Null check (just to be on the safe side)
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llselectmgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp index 57b144aa51..fce21fa30a 100644 --- a/indra/newview/llselectmgr.cpp +++ b/indra/newview/llselectmgr.cpp @@ -3686,14 +3686,14 @@ BOOL LLSelectMgr::selectGetEditMoveLinksetPermissions(bool &move, bool &modify) iter != getSelection()->end(); iter++) { LLSelectNode* nodep = *iter; - if (!nodep->mValid) + LLViewerObject* object = nodep->getObject(); + if (!object || !nodep->mValid) { move = false; modify = false; return FALSE; } - LLViewerObject* object = nodep->getObject(); LLViewerObject *root_object = object->getRootEdit(); bool this_object_movable = false; if (object->permMove() && !object->isPermanentEnforced() && |