aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/GroupsModule.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/Modules/GroupsModule.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/Modules/GroupsModule.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/GroupsModule.cs35
1 files changed, 35 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/GroupsModule.cs b/OpenSim/Region/Environment/Modules/GroupsModule.cs
new file mode 100644
index 0000000..607b395
--- /dev/null
+++ b/OpenSim/Region/Environment/Modules/GroupsModule.cs
@@ -0,0 +1,35 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using libsecondlife;
5using OpenSim.Framework.Interfaces;
6using OpenSim.Region.Environment.Scenes;
7using OpenSim.Region.Environment.Interfaces;
8
9namespace OpenSim.Region.Environment.Modules
10{
11 public class GroupsModule : IRegionModule
12 {
13 private Scene m_scene;
14
15 public void Initialise(Scene scene)
16 {
17 m_scene = scene;
18 }
19
20 public void PostInitialise()
21 {
22
23 }
24
25 public void CloseDown()
26 {
27 }
28
29 public string GetName()
30 {
31 return "GroupsModule";
32 }
33 }
34}
35