From e206a9ce88a3c220798aa77470103469d7977895 Mon Sep 17 00:00:00 2001
From: Melanie Thielker
Date: Wed, 13 May 2009 00:58:10 +0000
Subject: Remove some no longer needed debug. Fixes Mantis #9520
---
OpenSim/Region/Framework/Scenes/SceneBase.cs | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/OpenSim/Region/Framework/Scenes/SceneBase.cs b/OpenSim/Region/Framework/Scenes/SceneBase.cs
index f49366a..9487be7 100644
--- a/OpenSim/Region/Framework/Scenes/SceneBase.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneBase.cs
@@ -440,15 +440,11 @@ namespace OpenSim.Region.Framework.Scenes
/// null if there is no registered module implementing that interface
public T RequestModuleInterface()
{
- if (ModuleInterfaces.ContainsKey(typeof(T)) && (ModuleInterfaces[typeof(T)].Count > 0))
- {
- m_log.Debug("[XXX] RequestModuleInterface " + typeof(T).ToString() + " size: " + ModuleInterfaces[typeof(T)].Count);
+ if (ModuleInterfaces.ContainsKey(typeof(T)) &&
+ (ModuleInterfaces[typeof(T)].Count > 0))
return (T)ModuleInterfaces[typeof(T)][0];
- }
else
- {
return default(T);
- }
}
///
--
cgit v1.1