summaryrefslogtreecommitdiff
path: root/indra/newview/llselectmgr.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2023-11-02 10:49:05 -0500
committerDave Parks <davep@lindenlab.com>2023-11-02 10:49:05 -0500
commit439d26ccdc2864794036a8f6432664755f2b8234 (patch)
tree321ada0200c50e4e5bb7c5c4dd81dce436f4602f /indra/newview/llselectmgr.cpp
parent65fb4e67cb55f048c3ac8d0e46fc585f737c48ad (diff)
parent911dcb40fdf90d4f1e647860d257f7c13914ee49 (diff)
Merge branch 'DRTVWR-559' of ssh://github.com/secondlife/viewer into DRTVWR-559
Diffstat (limited to 'indra/newview/llselectmgr.cpp')
-rw-r--r--indra/newview/llselectmgr.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp
index c86e43333c..d172a87b1d 100644
--- a/indra/newview/llselectmgr.cpp
+++ b/indra/newview/llselectmgr.cpp
@@ -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;