From 46700d3b7d5bd71d880b3cc0dd0e2d6edd701195 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Fri, 19 Oct 2007 07:46:03 +0000 Subject: * Total refactoring of Asset Server for massive win * There is now a AssetServerBase * lolcat in ur assets --- OpenSim/Grid/AssetServer/Main.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'OpenSim/Grid') diff --git a/OpenSim/Grid/AssetServer/Main.cs b/OpenSim/Grid/AssetServer/Main.cs index 7a7c843..3061e5c 100644 --- a/OpenSim/Grid/AssetServer/Main.cs +++ b/OpenSim/Grid/AssetServer/Main.cs @@ -30,13 +30,14 @@ using System; using System.IO; using libsecondlife; +using OpenSim.Framework.Communications.Cache; using OpenSim.Framework.Configuration; using OpenSim.Framework.Console; using OpenSim.Framework.Servers; using OpenSim.Framework.Configuration; using OpenSim.Framework.Interfaces; using OpenSim.Framework.Utilities; -using OpenSim.Framework.Communications.Caches; + /* using System.Text; using Db4objects.Db4o; @@ -114,7 +115,10 @@ namespace OpenSim.Grid.AssetServer { try { - m_assetServer = new SQLAssetServer(config.DatabaseProvider); + SQLAssetServer assetServer = new SQLAssetServer(config.DatabaseProvider ); + assetServer.LoadDefaultAssets(); + + m_assetServer = assetServer; } catch (Exception e) { -- cgit v1.1