diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs (renamed from OpenSim/Region/PhysicsModules/UbitOde/ODEModule.cs) | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/OpenSim/Region/PhysicsModules/UbitOde/ODEModule.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs index 8be7c7c..44bf17f 100644 --- a/OpenSim/Region/PhysicsModules/UbitOde/ODEModule.cs +++ b/OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs | |||
@@ -8,23 +8,23 @@ using OpenSim.Framework; | |||
8 | using OpenSim.Region.Framework.Scenes; | 8 | using OpenSim.Region.Framework.Scenes; |
9 | using OpenSim.Region.Framework.Interfaces; | 9 | using OpenSim.Region.Framework.Interfaces; |
10 | 10 | ||
11 | namespace OpenSim.Region.PhysicsModule.UbitOde | 11 | namespace OpenSim.Region.PhysicsModule.ubOde |
12 | { | 12 | { |
13 | [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "UBITODEPhysicsScene")] | 13 | [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "ubODEPhysicsScene")] |
14 | class UbitOdeModule : INonSharedRegionModule | 14 | class ubOdeModule : INonSharedRegionModule |
15 | { | 15 | { |
16 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 16 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
17 | 17 | ||
18 | private bool m_Enabled = false; | 18 | private bool m_Enabled = false; |
19 | private IConfigSource m_config; | 19 | private IConfigSource m_config; |
20 | private ODEScene m_scene; | 20 | private ODEScene m_scene; |
21 | private bool OdeUbitLib; | 21 | private bool ubOdeLib; |
22 | 22 | ||
23 | #region INonSharedRegionModule | 23 | #region INonSharedRegionModule |
24 | 24 | ||
25 | public string Name | 25 | public string Name |
26 | { | 26 | { |
27 | get { return "UbitODE"; } | 27 | get { return "ubODE"; } |
28 | } | 28 | } |
29 | 29 | ||
30 | public Type ReplaceableInterface | 30 | public Type ReplaceableInterface |
@@ -65,15 +65,15 @@ namespace OpenSim.Region.PhysicsModule.UbitOde | |||
65 | string ode_config = d.GetConfiguration(); | 65 | string ode_config = d.GetConfiguration(); |
66 | if (ode_config != null && ode_config != "") | 66 | if (ode_config != null && ode_config != "") |
67 | { | 67 | { |
68 | m_log.InfoFormat("[UbitODE] ode library configuration: {0}", ode_config); | 68 | m_log.InfoFormat("[ubODE] ode library configuration: {0}", ode_config); |
69 | 69 | // ubODE still not avaiable | |
70 | if (ode_config.Contains("ODE_Ubit")) | 70 | if (ode_config.Contains("ubODE")) |
71 | { | 71 | { |
72 | OdeUbitLib = true; | 72 | ubOdeLib = true; |
73 | } | 73 | } |
74 | } | 74 | } |
75 | 75 | ||
76 | m_scene = new ODEScene(scene, m_config, Name, OdeUbitLib); | 76 | m_scene = new ODEScene(scene, m_config, Name, ubOdeLib); |
77 | } | 77 | } |
78 | 78 | ||
79 | public void RemoveRegion(Scene scene) | 79 | public void RemoveRegion(Scene scene) |