Do not add attachments to the region scene object backup list.

Attachment persistence is not handled in this way and this just results in a load of busy work until a check in each SOG terminates a backup check for attachments anyway.
ghosts
Justin Clark-Casey (justincc) 2014-09-27 01:02:27 +01:00
parent 2eece5b009
commit 11830c4363
2 changed files with 3 additions and 3 deletions

View File

@ -912,7 +912,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
// one full update during the attachment
// process causes some clients to fail to display the
// attachment properly.
m_Scene.AddNewSceneObject(group, true, false);
m_Scene.AddNewSceneObject(group, !attachment, false);
// if attachment we set it's asset id so object updates
// can reflect that, if not, we set it's position in world.

View File

@ -943,8 +943,8 @@ namespace OpenSim.Region.Framework.Scenes
{
if (CanBeBackedUp)
{
//m_log.DebugFormat(
// "[SCENE OBJECT GROUP]: Attaching object {0} {1} to scene presistence sweep", Name, UUID);
// m_log.DebugFormat(
// "[SCENE OBJECT GROUP]: Attaching object {0} {1} to scene presistence sweep", Name, UUID);
if (!Backup)
m_scene.EventManager.OnBackup += ProcessBackup;