diff options
author | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
---|---|---|
committer | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
commit | b16abc8166c29585cb76cc55c3bdd76e5833cb4f (patch) | |
tree | 6a34f465a74b7a3a6dc00a3d7aa8dcc25ac3e3a5 /OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs | |
parent | Make it possible to disable the bakes module in the way it is described in co... (diff) | |
download | opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.zip opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.gz opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.bz2 opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.xz |
Massive tab and trailing space cleanup
Diffstat (limited to 'OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs')
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs index 51b8e4e..4cb1736 100644 --- a/OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs +++ b/OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs | |||
@@ -11,16 +11,16 @@ using OpenSim.Region.Framework.Interfaces; | |||
11 | 11 | ||
12 | namespace OpenSim.Region.PhysicsModule.ubOde | 12 | namespace OpenSim.Region.PhysicsModule.ubOde |
13 | { | 13 | { |
14 | [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "ubODEPhysicsScene")] | 14 | [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "ubODEPhysicsScene")] |
15 | class ubOdeModule : INonSharedRegionModule | 15 | class ubOdeModule : INonSharedRegionModule |
16 | { | 16 | { |
17 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 17 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
18 | 18 | ||
19 | private static Dictionary<Scene, ODEScene> m_scenes = new Dictionary<Scene, ODEScene>(); | 19 | private static Dictionary<Scene, ODEScene> m_scenes = new Dictionary<Scene, ODEScene>(); |
20 | private bool m_Enabled = false; | 20 | private bool m_Enabled = false; |
21 | private IConfigSource m_config; | 21 | private IConfigSource m_config; |
22 | private bool OSOdeLib; | 22 | private bool OSOdeLib; |
23 | 23 | ||
24 | 24 | ||
25 | #region INonSharedRegionModule | 25 | #region INonSharedRegionModule |
26 | 26 | ||
@@ -80,7 +80,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
80 | 80 | ||
81 | if(m_scenes.ContainsKey(scene)) // ??? | 81 | if(m_scenes.ContainsKey(scene)) // ??? |
82 | return; | 82 | return; |
83 | ODEScene newodescene = new ODEScene(scene, m_config, Name, Version, OSOdeLib); | 83 | ODEScene newodescene = new ODEScene(scene, m_config, Name, Version, OSOdeLib); |
84 | m_scenes[scene] = newodescene; | 84 | m_scenes[scene] = newodescene; |
85 | } | 85 | } |
86 | 86 | ||
@@ -100,13 +100,13 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
100 | { | 100 | { |
101 | if (!m_Enabled) | 101 | if (!m_Enabled) |
102 | return; | 102 | return; |
103 | 103 | ||
104 | if(m_scenes.ContainsKey(scene)) | 104 | if(m_scenes.ContainsKey(scene)) |
105 | { | 105 | { |
106 | m_scenes[scene].RegionLoaded(); | 106 | m_scenes[scene].RegionLoaded(); |
107 | } | 107 | } |
108 | 108 | ||
109 | } | 109 | } |
110 | #endregion | 110 | #endregion |
111 | } | 111 | } |
112 | } | 112 | } |