diff options
Diffstat (limited to 'OpenSim/Region/Physics/BulletXPlugin')
-rw-r--r-- | OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs index ddfb5a4..9415fff 100644 --- a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs +++ b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs | |||
@@ -34,6 +34,7 @@ using OpenSim.Framework; | |||
34 | using OpenSim.Region.Physics.Manager; | 34 | using OpenSim.Region.Physics.Manager; |
35 | using XnaDevRu.BulletX; | 35 | using XnaDevRu.BulletX; |
36 | using XnaDevRu.BulletX.Dynamics; | 36 | using XnaDevRu.BulletX.Dynamics; |
37 | using Nini.Config; | ||
37 | using AxiomQuaternion = Axiom.Math.Quaternion; | 38 | using AxiomQuaternion = Axiom.Math.Quaternion; |
38 | 39 | ||
39 | #endregion | 40 | #endregion |
@@ -483,6 +484,7 @@ namespace OpenSim.Region.Physics.BulletXPlugin | |||
483 | internal Dictionary<RigidBody, BulletXPrim> _prims = new Dictionary<RigidBody, BulletXPrim>(); | 484 | internal Dictionary<RigidBody, BulletXPrim> _prims = new Dictionary<RigidBody, BulletXPrim>(); |
484 | 485 | ||
485 | public IMesher mesher; | 486 | public IMesher mesher; |
487 | private IConfigSource m_config; | ||
486 | 488 | ||
487 | 489 | ||
488 | public static float Gravity | 490 | public static float Gravity |
@@ -536,9 +538,10 @@ namespace OpenSim.Region.Physics.BulletXPlugin | |||
536 | //this._heightmap = new float[65536]; | 538 | //this._heightmap = new float[65536]; |
537 | } | 539 | } |
538 | 540 | ||
539 | public override void Initialise(IMesher meshmerizer) | 541 | public override void Initialise(IMesher meshmerizer, IConfigSource config) |
540 | { | 542 | { |
541 | mesher = meshmerizer; | 543 | mesher = meshmerizer; |
544 | m_config = config; | ||
542 | } | 545 | } |
543 | 546 | ||
544 | public override void Dispose() | 547 | public override void Dispose() |