diff options
Heart surgery on asset service code bits. Affects OpenSim.ini configuration -- please see the example. Affects region servers only.
This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing.
Known problems:
* HG asset transfers are borked for now
* missing texture is missing
* 3 unit tests commented out for now
Diffstat (limited to 'OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs')
-rw-r--r-- | OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs b/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs index 5de44b6..1a330b1 100644 --- a/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs +++ b/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs | |||
@@ -476,7 +476,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory | |||
476 | { | 476 | { |
477 | Rest.Log.DebugFormat("{0} Rest asset: {1} {2} {3}", | 477 | Rest.Log.DebugFormat("{0} Rest asset: {1} {2} {3}", |
478 | MsgId, asset.ID, asset.Type, asset.Name); | 478 | MsgId, asset.ID, asset.Type, asset.Name); |
479 | Rest.AssetServices.AddAsset(asset); | 479 | Rest.AssetServices.Store(asset); |
480 | 480 | ||
481 | created = true; | 481 | created = true; |
482 | rdata.appendStatus(String.Format("<p> Created asset {0}, UUID {1} <p>", | 482 | rdata.appendStatus(String.Format("<p> Created asset {0}, UUID {1} <p>", |
@@ -682,7 +682,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory | |||
682 | 682 | ||
683 | // The asset was validated during the collection process | 683 | // The asset was validated during the collection process |
684 | 684 | ||
685 | Rest.AssetServices.AddAsset(asset); | 685 | Rest.AssetServices.Store(asset); |
686 | 686 | ||
687 | created = true; | 687 | created = true; |
688 | rdata.appendStatus(String.Format("<p> Created asset {0}, UUID {1} <p>", asset.Name, asset.ID)); | 688 | rdata.appendStatus(String.Format("<p> Created asset {0}, UUID {1} <p>", asset.Name, asset.ID)); |