Fix a bug and link-set objects can now be synched correctly.
parent
d84e69fefe
commit
42645acab9
|
@ -391,7 +391,7 @@ namespace OpenSim.Region.CoreModules.RegionSync.RegionSyncModule
|
||||||
|
|
||||||
//when an object is deleted, this function (DeleteObject) could be triggered more than once. So we check
|
//when an object is deleted, this function (DeleteObject) could be triggered more than once. So we check
|
||||||
//if the object part is already removed is the scene (part==null)
|
//if the object part is already removed is the scene (part==null)
|
||||||
m_log.Debug("Inform script engine about the deleted object");
|
//m_log.Debug("Inform script engine about the deleted object");
|
||||||
if(m_sceneToSESyncServer!=null)
|
if(m_sceneToSESyncServer!=null)
|
||||||
m_sceneToSESyncServer.SendToSE(rsm, part.ParentGroup);
|
m_sceneToSESyncServer.SendToSE(rsm, part.ParentGroup);
|
||||||
}
|
}
|
||||||
|
@ -572,7 +572,7 @@ namespace OpenSim.Region.CoreModules.RegionSync.RegionSyncModule
|
||||||
|
|
||||||
//when an object is deleted, this function (DeleteObject) could be triggered more than once. So we check
|
//when an object is deleted, this function (DeleteObject) could be triggered more than once. So we check
|
||||||
//if the object part is already removed is the scene (part==null)
|
//if the object part is already removed is the scene (part==null)
|
||||||
m_log.Debug("Inform script engine about the deleted object");
|
//m_log.Debug("Inform script engine about the deleted object");
|
||||||
m_sceneToSESyncServer.SendToSE(rsm, part.ParentGroup);
|
m_sceneToSESyncServer.SendToSE(rsm, part.ParentGroup);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -774,7 +774,7 @@ namespace OpenSim.Region.CoreModules.RegionSync.RegionSyncModule
|
||||||
string sogxml = SceneObjectSerializer.ToXml2Format((SceneObjectGroup)e);
|
string sogxml = SceneObjectSerializer.ToXml2Format((SceneObjectGroup)e);
|
||||||
SendSyncMessage(SymmetricSyncMessage.MsgType.NewObject, sogxml);
|
SendSyncMessage(SymmetricSyncMessage.MsgType.NewObject, sogxml);
|
||||||
|
|
||||||
//m_log.Debug(LogHeader + ": " + sogxml);
|
m_log.Debug(LogHeader + ": " + sogxml);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -217,7 +217,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
|
||||||
|
|
||||||
//SYMMETRIC SYNC
|
//SYMMETRIC SYNC
|
||||||
//KittyL: 12/27/2010, added ActorID for symmetric synch model
|
//KittyL: 12/27/2010, added ActorID for symmetric synch model
|
||||||
part.SetLastUpdateActorID();
|
//part.SetLastUpdateActorID();
|
||||||
|
|
||||||
// SceneObjectGroup.AddPart() tries to be smart and automatically set the LinkNum.
|
// SceneObjectGroup.AddPart() tries to be smart and automatically set the LinkNum.
|
||||||
// We override that here
|
// We override that here
|
||||||
|
|
Loading…
Reference in New Issue