diff options
Diffstat (limited to 'indra')
-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() && |