aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
authorMW2007-08-31 12:19:36 +0000
committerMW2007-08-31 12:19:36 +0000
commitf388a4725477b2e3238ccf19ea18dd05a98cdca0 (patch)
treeb810a65238213d357326f329df169161846547ce /OpenSim/Region/Environment/Scenes/Scene.cs
parentchange debugging around failed prim loading. I have one prim that doesn't (diff)
downloadopensim-SC_OLD-f388a4725477b2e3238ccf19ea18dd05a98cdca0.zip
opensim-SC_OLD-f388a4725477b2e3238ccf19ea18dd05a98cdca0.tar.gz
opensim-SC_OLD-f388a4725477b2e3238ccf19ea18dd05a98cdca0.tar.bz2
opensim-SC_OLD-f388a4725477b2e3238ccf19ea18dd05a98cdca0.tar.xz
Added a Debug method to the Console/log class that has the Conditional attribute (set to "DEBUG"), so we can use that for writing extra debug info to the console. [for anyone who doesn't know about the Conditional attribute, it is a attribute that can be set on a method, and then any call to that method will on be compiled if the terms of that condition are met, ie is this case only if "DEBUG" is true. So its a cleaner implementation of the #if #endif directives].
A few other minor changes.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 92f26ef..46fc86b 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -170,7 +170,7 @@ namespace OpenSim.Region.Environment.Scenes
170 m_permissionManager = new PermissionManager(this); 170 m_permissionManager = new PermissionManager(this);
171 171
172 MainLog.Instance.Verbose("Loading Region Modules"); 172 MainLog.Instance.Verbose("Loading Region Modules");
173 m_moduleLoader.LoadInternalModules(this); 173 m_moduleLoader.CreateDefaultModules(this);
174 174
175 m_eventManager.OnParcelPrimCountAdd += 175 m_eventManager.OnParcelPrimCountAdd +=
176 m_LandManager.addPrimToLandPrimCounts; 176 m_LandManager.addPrimToLandPrimCounts;