Old group is now deleted from datastore when you link groups/prims, so that the new group can be stored correctly.
parent
16f75978ce
commit
249826893d
|
@ -877,6 +877,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
if (Entities.ContainsKey(entID))
|
||||
{
|
||||
Entities.Remove(entID);
|
||||
storageManager.DataStore.RemoveObject(entID, this.m_regInfo.SimUUID);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
@ -460,6 +460,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
|
||||
m_scene.EventManager.OnBackup -= objectGroup.ProcessBackup;
|
||||
m_scene.DeleteEntity(objectGroup.UUID);
|
||||
|
||||
objectGroup.DeleteParts();
|
||||
this.ScheduleGroupForFullUpdate();
|
||||
}
|
||||
|
@ -741,9 +742,6 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
}
|
||||
}
|
||||
this.AbsolutePosition = newPos;
|
||||
pos.X = newPos.X;
|
||||
pos.Y = newPos.Y;
|
||||
pos.Z = newPos.Z;
|
||||
this.ScheduleGroupForTerseUpdate();
|
||||
}
|
||||
#endregion
|
||||
|
|
Loading…
Reference in New Issue