summaryrefslogtreecommitdiff
path: root/indra/newview/llselectmgr.cpp
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2020-01-13 17:35:30 +0200
committerandreykproductengine <andreykproductengine@lindenlab.com>2020-01-13 17:35:30 +0200
commitc3d706be9e975a77976dc9d4656a1b50a95151a7 (patch)
tree2452f8ab597bd940cea7c75a31a96d1f2733af52 /indra/newview/llselectmgr.cpp
parent814a218785b2c5c0aa3b2c0bd6e6d5fee795d134 (diff)
SL-12537 Fixed crash when the box with 'script' moves between two regions
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 f849fecaf6..aee6bcb05e 100644
--- a/indra/newview/llselectmgr.cpp
+++ b/indra/newview/llselectmgr.cpp
@@ -5426,7 +5426,7 @@ void LLSelectMgr::processObjectProperties(LLMessageSystem* msg, void** user_data
}
else
{
- if (node->mInventorySerial != inv_serial)
+ if (node->mInventorySerial != inv_serial && node->getObject())
{
node->getObject()->dirtyInventory();
}