aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs
diff options
context:
space:
mode:
authorDiva Canto2015-08-31 15:04:10 -0700
committerDiva Canto2015-08-31 15:04:10 -0700
commit50e7e38f450599b5755c9ab887b8d9bd9c3d8981 (patch)
tree28e578fbcb02a15a4a74814f6b56629a995690a9 /OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs
parentFirst commit where physics work as region module. (diff)
downloadopensim-SC-50e7e38f450599b5755c9ab887b8d9bd9c3d8981.zip
opensim-SC-50e7e38f450599b5755c9ab887b8d9bd9c3d8981.tar.gz
opensim-SC-50e7e38f450599b5755c9ab887b8d9bd9c3d8981.tar.bz2
opensim-SC-50e7e38f450599b5755c9ab887b8d9bd9c3d8981.tar.xz
Physics refactoring: all unit tests pass.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs b/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs
index f7760c5..10684d1 100644
--- a/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs
+++ b/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs
@@ -93,7 +93,9 @@ namespace OpenSim.Region.PhysicsModule.BasicPhysics
93 93
94 scene.RegisterModuleInterface<PhysicsScene>(this); 94 scene.RegisterModuleInterface<PhysicsScene>(this);
95 m_regionExtent = new Vector3(scene.RegionInfo.RegionSizeX, scene.RegionInfo.RegionSizeY, scene.RegionInfo.RegionSizeZ); 95 m_regionExtent = new Vector3(scene.RegionInfo.RegionSizeX, scene.RegionInfo.RegionSizeY, scene.RegionInfo.RegionSizeZ);
96 base.Initialise(scene.PhysicsRequestAsset, scene.Heightmap.GetFloatsSerialised(), (float)scene.RegionInfo.RegionSettings.WaterHeight); 96 base.Initialise(scene.PhysicsRequestAsset,
97 (scene.Heightmap != null ? scene.Heightmap.GetFloatsSerialised() : new float[Constants.RegionSize * Constants.RegionSize]),
98 (float)scene.RegionInfo.RegionSettings.WaterHeight);
97 99
98 } 100 }
99 101