Be sure the object's inventory serial is incorrect before dirtying the inventory
Thanks to Ubit for pointing this out
This commit is contained in:
@@ -5201,7 +5201,9 @@ void LLSelectMgr::processObjectProperties(LLMessageSystem* msg, void** user_data
|
|||||||
{
|
{
|
||||||
if (node->mInventorySerial != inv_serial)
|
if (node->mInventorySerial != inv_serial)
|
||||||
{
|
{
|
||||||
node->getObject()->dirtyInventory();
|
if (LLViewerObject* object = node->getObject())
|
||||||
|
if (object->getInventorySerial() != inv_serial) // Singu Note: the serial number in the object may be correct.
|
||||||
|
object->dirtyInventory();
|
||||||
}
|
}
|
||||||
|
|
||||||
// save texture data as soon as we get texture perms first time
|
// save texture data as soon as we get texture perms first time
|
||||||
|
|||||||
Reference in New Issue
Block a user