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

0.7.6-extended
Justin Clark-Casey (justincc) 2013-09-16 23:26:13 +01:00
parent 6f5fd067a5
commit d5a3139b05
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 // This MAY be problematic, if it is, another solution
// needs to be found. If inventory item flags are updated // needs to be found. If inventory item flags are updated
// the viewer's notion of the item needs to be refreshed. // 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) if (sendUpdate)
remoteClient.SendBulkUpdateInventory(item); remoteClient.SendBulkUpdateInventory(item);
} }