MAINT-8844 Null check (just to be on the safe side)
parent
ef148a73aa
commit
f796c33d43
|
|
@ -3686,14 +3686,14 @@ BOOL LLSelectMgr::selectGetEditMoveLinksetPermissions(bool &move, bool &modify)
|
||||||
iter != getSelection()->end(); iter++)
|
iter != getSelection()->end(); iter++)
|
||||||
{
|
{
|
||||||
LLSelectNode* nodep = *iter;
|
LLSelectNode* nodep = *iter;
|
||||||
if (!nodep->mValid)
|
LLViewerObject* object = nodep->getObject();
|
||||||
|
if (!object || !nodep->mValid)
|
||||||
{
|
{
|
||||||
move = false;
|
move = false;
|
||||||
modify = false;
|
modify = false;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
LLViewerObject* object = nodep->getObject();
|
|
||||||
LLViewerObject *root_object = object->getRootEdit();
|
LLViewerObject *root_object = object->getRootEdit();
|
||||||
bool this_object_movable = false;
|
bool this_object_movable = false;
|
||||||
if (object->permMove() && !object->isPermanentEnforced() &&
|
if (object->permMove() && !object->isPermanentEnforced() &&
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue