* Scripts edited within a prim will now be persisted correctly

* On restart the latest save will be restored rather than the very first dragged in scripts
* Also add previously missed out database commits to separate prim inventory commit path (sigh)
This commit is contained in:
Justin Clarke Casey
2008-01-21 16:42:53 +00:00
parent 38991ba0e6
commit 46fe6e2f97
6 changed files with 71 additions and 139 deletions

View File

@@ -401,7 +401,10 @@ namespace OpenSim.Region.Environment.Scenes
{
if (HasInventoryChanged)
{
datastore.StorePrimInventory(UUID, TaskInventory);
lock (TaskInventory)
{
datastore.StorePrimInventory(UUID, TaskInventory.Values);
}
HasInventoryChanged = false;
}