Reinsert comments about possible race conditions when sending bulk inventory updates on non-flag clothing editing

varregion
Justin Clark-Casey (justincc) 2013-09-16 23:26:13 +01:00
parent f99dae03cb
commit 2603a2891b
1 changed files with 3 additions and 0 deletions

View File

@ -512,6 +512,9 @@ namespace OpenSim.Region.Framework.Scenes
// This MAY be problematic, if it is, another solution
// needs to be found. If inventory item flags are updated
// the viewer's notion of the item needs to be refreshed.
//
// In other situations we cannot send out a bulk update here, since this will cause editing of clothing to start
// failing frequently. Possibly this is a race with a separate transaction that uploads the asset.
if (sendUpdate)
remoteClient.SendBulkUpdateInventory(item);
}