SL-20548 Fix revert of materials not working properly in some cases
parent
40e568a318
commit
da71aa168e
|
|
@ -5830,13 +5830,19 @@ void LLSelectMgr::processObjectProperties(LLMessageSystem* msg, void** user_data
|
|||
}
|
||||
else
|
||||
{
|
||||
// save texture data as soon as we get texture perms first time
|
||||
bool save_textures = !node->mValid;
|
||||
if (node->mInventorySerial != inv_serial && node->getObject())
|
||||
{
|
||||
node->getObject()->dirtyInventory();
|
||||
|
||||
// Even if this isn't object's first udpate, inventory changed
|
||||
// and some of the applied textures might have been in inventory
|
||||
// so update texture list.
|
||||
save_textures = true;
|
||||
}
|
||||
|
||||
// save texture data as soon as we get texture perms first time
|
||||
if (!node->mValid)
|
||||
if (save_textures)
|
||||
{
|
||||
BOOL can_copy = FALSE;
|
||||
BOOL can_transfer = FALSE;
|
||||
|
|
|
|||
Loading…
Reference in New Issue