mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
* 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:
@@ -401,7 +401,10 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
{
|
||||
if (HasInventoryChanged)
|
||||
{
|
||||
datastore.StorePrimInventory(UUID, TaskInventory);
|
||||
lock (TaskInventory)
|
||||
{
|
||||
datastore.StorePrimInventory(UUID, TaskInventory.Values);
|
||||
}
|
||||
|
||||
HasInventoryChanged = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user