diff options
author | Melanie Thielker | 2009-05-13 00:58:10 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-05-13 00:58:10 +0000 |
commit | e206a9ce88a3c220798aa77470103469d7977895 (patch) | |
tree | 01a4d873fd1d41e07e3468e8d54ac10bde8841a4 /OpenSim/Region | |
parent | Added interface, stub implementation and script (diff) | |
download | opensim-SC_OLD-e206a9ce88a3c220798aa77470103469d7977895.zip opensim-SC_OLD-e206a9ce88a3c220798aa77470103469d7977895.tar.gz opensim-SC_OLD-e206a9ce88a3c220798aa77470103469d7977895.tar.bz2 opensim-SC_OLD-e206a9ce88a3c220798aa77470103469d7977895.tar.xz |
Remove some no longer needed debug.
Fixes Mantis #9520
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneBase.cs | 8 |
1 files 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 | |||
440 | /// <returns>null if there is no registered module implementing that interface</returns> | 440 | /// <returns>null if there is no registered module implementing that interface</returns> |
441 | public T RequestModuleInterface<T>() | 441 | public T RequestModuleInterface<T>() |
442 | { | 442 | { |
443 | if (ModuleInterfaces.ContainsKey(typeof(T)) && (ModuleInterfaces[typeof(T)].Count > 0)) | 443 | if (ModuleInterfaces.ContainsKey(typeof(T)) && |
444 | { | 444 | (ModuleInterfaces[typeof(T)].Count > 0)) |
445 | m_log.Debug("[XXX] RequestModuleInterface " + typeof(T).ToString() + " size: " + ModuleInterfaces[typeof(T)].Count); | ||
446 | return (T)ModuleInterfaces[typeof(T)][0]; | 445 | return (T)ModuleInterfaces[typeof(T)][0]; |
447 | } | ||
448 | else | 446 | else |
449 | { | ||
450 | return default(T); | 447 | return default(T); |
451 | } | ||
452 | } | 448 | } |
453 | 449 | ||
454 | /// <summary> | 450 | /// <summary> |