diff options
Diffstat (limited to 'OpenSim/Grid/AssetServer/Main.cs')
-rw-r--r-- | OpenSim/Grid/AssetServer/Main.cs | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/OpenSim/Grid/AssetServer/Main.cs b/OpenSim/Grid/AssetServer/Main.cs index f29a540..5a8368c 100644 --- a/OpenSim/Grid/AssetServer/Main.cs +++ b/OpenSim/Grid/AssetServer/Main.cs | |||
@@ -291,34 +291,6 @@ namespace OpenSim.Grid.AssetServer | |||
291 | //info.loaded=true; | 291 | //info.loaded=true; |
292 | } | 292 | } |
293 | 293 | ||
294 | /*private GridConfig LoadConfigDll(string dllName) | ||
295 | { | ||
296 | Assembly pluginAssembly = Assembly.LoadFrom(dllName); | ||
297 | GridConfig config = null; | ||
298 | |||
299 | foreach (Type pluginType in pluginAssembly.GetTypes()) | ||
300 | { | ||
301 | if (pluginType.IsPublic) | ||
302 | { | ||
303 | if (!pluginType.IsAbstract) | ||
304 | { | ||
305 | Type typeInterface = pluginType.GetInterface("IGridConfig", true); | ||
306 | |||
307 | if (typeInterface != null) | ||
308 | { | ||
309 | IGridConfig plug = (IGridConfig)Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); | ||
310 | config = plug.GetConfigObject(); | ||
311 | break; | ||
312 | } | ||
313 | |||
314 | typeInterface = null; | ||
315 | } | ||
316 | } | ||
317 | } | ||
318 | pluginAssembly = null; | ||
319 | return config; | ||
320 | }*/ | ||
321 | |||
322 | public void CreateAsset(LLUUID assetId, byte[] assetData) | 294 | public void CreateAsset(LLUUID assetId, byte[] assetData) |
323 | { | 295 | { |
324 | AssetBase asset = new AssetBase(); | 296 | AssetBase asset = new AssetBase(); |