aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorAdam Frisby2008-08-30 04:42:23 +0000
committerAdam Frisby2008-08-30 04:42:23 +0000
commitf57f4d1ab878eef5c75347a1f49690993cf98561 (patch)
treec43e1978ec3b7f8c67154a9d114105bc62adbb16 /OpenSim/Region
parentUpdate TESTING.txt documentation. (diff)
downloadopensim-SC_OLD-f57f4d1ab878eef5c75347a1f49690993cf98561.zip
opensim-SC_OLD-f57f4d1ab878eef5c75347a1f49690993cf98561.tar.gz
opensim-SC_OLD-f57f4d1ab878eef5c75347a1f49690993cf98561.tar.bz2
opensim-SC_OLD-f57f4d1ab878eef5c75347a1f49690993cf98561.tar.xz
* Added "File Asset Client" to OpenSim Asset Server-types.
* You can replace "grid" as the asset system with "file" to save and load all your assets from a directory on your hard disk. Files are serialised to XML and saved in the format "/<dir>/0x/0x/0x/0000-0000-000000-0000-0000.xml" * Directory <dir> is sharing the Asset Server URL path, use a normal path here instead (ie C:\xyz or /var/assets/). * This probably wont work well in grid mode unless every sim has access to the same directory. This is mostly intended for standalone usage where quick and convenient access to assets is required.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index 78064da..ce4fdfe 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -421,6 +421,10 @@ namespace OpenSim
421 { 421 {
422 assetServer = new GridAssetClient(m_networkServersInfo.AssetURL); 422 assetServer = new GridAssetClient(m_networkServersInfo.AssetURL);
423 } 423 }
424 else if (m_assetStorage == "file")
425 {
426 assetServer = new FileAssetClient(m_networkServersInfo.AssetURL);
427 }
424 else 428 else
425 { 429 {
426 SQLAssetServer sqlAssetServer = new SQLAssetServer(m_standaloneAssetPlugin, m_standaloneAssetSource); 430 SQLAssetServer sqlAssetServer = new SQLAssetServer(m_standaloneAssetPlugin, m_standaloneAssetSource);