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))
|
if (Entities.ContainsKey(entID))
|
||||||
{
|
{
|
||||||
Entities.Remove(entID);
|
Entities.Remove(entID);
|
||||||
|
storageManager.DataStore.RemoveObject(entID, this.m_regInfo.SimUUID);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -460,6 +460,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
|
|
||||||
m_scene.EventManager.OnBackup -= objectGroup.ProcessBackup;
|
m_scene.EventManager.OnBackup -= objectGroup.ProcessBackup;
|
||||||
m_scene.DeleteEntity(objectGroup.UUID);
|
m_scene.DeleteEntity(objectGroup.UUID);
|
||||||
|
|
||||||
objectGroup.DeleteParts();
|
objectGroup.DeleteParts();
|
||||||
this.ScheduleGroupForFullUpdate();
|
this.ScheduleGroupForFullUpdate();
|
||||||
}
|
}
|
||||||
|
@ -741,9 +742,6 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.AbsolutePosition = newPos;
|
this.AbsolutePosition = newPos;
|
||||||
pos.X = newPos.X;
|
|
||||||
pos.Y = newPos.Y;
|
|
||||||
pos.Z = newPos.Z;
|
|
||||||
this.ScheduleGroupForTerseUpdate();
|
this.ScheduleGroupForTerseUpdate();
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
Loading…
Reference in New Issue