Merge branch 'bigmerge' of ssh://melanie@3dhosting.de/var/git/careminster into bigmerge
commit
84a61cd00b
|
@ -109,7 +109,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
foreach (SceneObjectGroup g in objectGroups)
|
foreach (SceneObjectGroup g in objectGroups)
|
||||||
{
|
{
|
||||||
killIDs.Add(g.LocalId);
|
killIDs.Add(g.LocalId);
|
||||||
g.DeleteGroupFromScene(false);
|
g.DeleteGroupFromScene(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
m_scene.SendKillObject(killIDs);
|
m_scene.SendKillObject(killIDs);
|
||||||
|
|
|
@ -1122,14 +1122,19 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
/// <param name="datastore"></param>
|
/// <param name="datastore"></param>
|
||||||
public void ProcessInventoryBackup(ISimulationDataService datastore)
|
public void ProcessInventoryBackup(ISimulationDataService datastore)
|
||||||
{
|
{
|
||||||
if (HasInventoryChanged)
|
// Removed this because linking will cause an immediate delete of the new
|
||||||
{
|
// child prim from the database and the subsequent storing of the prim sees
|
||||||
|
// the inventory of it as unchanged and doesn't store it at all. The overhead
|
||||||
|
// of storing prim inventory needlessly is much less than the aggravation
|
||||||
|
// of prim inventory loss.
|
||||||
|
// if (HasInventoryChanged)
|
||||||
|
// {
|
||||||
Items.LockItemsForRead(true);
|
Items.LockItemsForRead(true);
|
||||||
datastore.StorePrimInventory(m_part.UUID, Items.Values);
|
datastore.StorePrimInventory(m_part.UUID, Items.Values);
|
||||||
Items.LockItemsForRead(false);
|
Items.LockItemsForRead(false);
|
||||||
|
|
||||||
HasInventoryChanged = false;
|
HasInventoryChanged = false;
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class InventoryStringBuilder
|
public class InventoryStringBuilder
|
||||||
|
|
Loading…
Reference in New Issue