From a16ddbee4116fd1234bb2d53598616d5345c09c9 Mon Sep 17 00:00:00 2001 From: SignpostMarv Date: Mon, 29 Oct 2012 16:05:02 +0000 Subject: [PATCH] Renaming module back to SoundModule as the hypothetical plan was to make another module using the shared region module interface, but this was pointed out by Melanie_T to be mostly pointless. --- .../World/Sound/{SoundModuleNonShared.cs => SoundModule.cs} | 6 +++--- bin/OpenSimDefaults.ini | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) rename OpenSim/Region/CoreModules/World/Sound/{SoundModuleNonShared.cs => SoundModule.cs} (98%) diff --git a/OpenSim/Region/CoreModules/World/Sound/SoundModuleNonShared.cs b/OpenSim/Region/CoreModules/World/Sound/SoundModule.cs similarity index 98% rename from OpenSim/Region/CoreModules/World/Sound/SoundModuleNonShared.cs rename to OpenSim/Region/CoreModules/World/Sound/SoundModule.cs index c163e86a50..1db65193f1 100644 --- a/OpenSim/Region/CoreModules/World/Sound/SoundModuleNonShared.cs +++ b/OpenSim/Region/CoreModules/World/Sound/SoundModule.cs @@ -39,8 +39,8 @@ using OpenSim.Region.Framework.Scenes; namespace OpenSim.Region.CoreModules.World.Sound { - [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "SoundModuleNonShared")] - public class SoundModuleNonShared : INonSharedRegionModule, ISoundModule + [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "SoundModule")] + public class SoundModule : INonSharedRegionModule, ISoundModule { private static readonly ILog m_log = LogManager.GetLogger( MethodBase.GetCurrentMethod().DeclaringType); @@ -64,7 +64,7 @@ namespace OpenSim.Region.CoreModules.World.Sound } else { - Enabled = config.GetString("Module", "SoundModuleNonShared") == "SoundModuleNonShared"; + Enabled = config.GetString("Module", "SoundModule") == "SoundModule"; MaxDistance = config.GetFloat("MaxDistance", 100.0f); } } diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index afb6fedd7c..6d1af7ce1a 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini @@ -1688,9 +1688,8 @@ Enabled = False AutoBackupModuleEnabled = false [Sounds] - ;; {Module} {} {Implementation of ISoundModule to use.} {SoundModuleNonShared} - ;; Currently only INonSharedRegionModule module is implemented. - Module = SoundModuleNonShared + ;; {Module} {} {Implementation of ISoundModule to use.} {SoundModule} + Module = SoundModule ;; {MaxDistance} {} {Cut-off distance at which sounds will not be sent to users} {100.0} MaxDistance = 100.0