* Do database implementation for prim inventory items in mysql

* Properly clean up items when a region object is deleted
* Update persisted prim when an inventory script is changed
* No user functionality yet
This commit is contained in:
Justin Clarke Casey
2008-01-11 17:00:21 +00:00
parent 50ece51dbc
commit 48be04df1d
3 changed files with 351 additions and 32 deletions

View File

@@ -235,6 +235,13 @@ namespace OpenSim.Region.Environment.Scenes
if (part != null)
{
part.UpdateInventoryItem(item);
// It might seem somewhat crude to update the whole group for a single prim inventory change,
// but it's possible that other prim inventory changes will take place before the region
// persistence thread visits this object. In the future, changes can be signalled at a more
// granular level, or we could let the datastore worry about whether prims have really
// changed since they were last persisted.
HasChanged = true;
return true;
}