diff options
author | Jeff Ames | 2009-07-11 11:47:33 +0000 |
---|---|---|
committer | Jeff Ames | 2009-07-11 11:47:33 +0000 |
commit | cce451d9de1ee9877dd089917a682127224f56d5 (patch) | |
tree | 7cf66c7afe7a2a21d0efbdadcc5080145704701f /OpenSim/Region/OptionalModules/Scripting/Minimodule | |
parent | Add bin/*.db and bin/*.ini to .gitignore. (diff) | |
download | opensim-SC-cce451d9de1ee9877dd089917a682127224f56d5.zip opensim-SC-cce451d9de1ee9877dd089917a682127224f56d5.tar.gz opensim-SC-cce451d9de1ee9877dd089917a682127224f56d5.tar.bz2 opensim-SC-cce451d9de1ee9877dd089917a682127224f56d5.tar.xz |
Formatting cleanup.
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMModule.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMModule.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMModule.cs index 2b84016..53145e2 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMModule.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMModule.cs | |||
@@ -68,13 +68,13 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
68 | m_log.Info("[MRM] Enabling MRM Module"); | 68 | m_log.Info("[MRM] Enabling MRM Module"); |
69 | m_scene = scene; | 69 | m_scene = scene; |
70 | 70 | ||
71 | // when hidden, we don't listen for client initiated script events | 71 | // when hidden, we don't listen for client initiated script events |
72 | // only making the MRM engine available for region modules | 72 | // only making the MRM engine available for region modules |
73 | if(!source.Configs["MRM"].GetBoolean("Hidden", false)) | 73 | if (!source.Configs["MRM"].GetBoolean("Hidden", false)) |
74 | { | 74 | { |
75 | scene.EventManager.OnRezScript += EventManager_OnRezScript; | 75 | scene.EventManager.OnRezScript += EventManager_OnRezScript; |
76 | } | 76 | } |
77 | 77 | ||
78 | scene.EventManager.OnFrame += EventManager_OnFrame; | 78 | scene.EventManager.OnFrame += EventManager_OnFrame; |
79 | 79 | ||
80 | scene.RegisterModuleInterface<IMRMModule>(this); | 80 | scene.RegisterModuleInterface<IMRMModule>(this); |
@@ -198,7 +198,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
198 | /// <returns></returns> | 198 | /// <returns></returns> |
199 | internal string CompileFromDotNetText(string Script, string uuid) | 199 | internal string CompileFromDotNetText(string Script, string uuid) |
200 | { | 200 | { |
201 | m_log.Info("MRM 1"); | 201 | m_log.Info("MRM 1"); |
202 | const string ext = ".cs"; | 202 | const string ext = ".cs"; |
203 | const string FilePrefix = "MiniModule"; | 203 | const string FilePrefix = "MiniModule"; |
204 | 204 | ||