mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
First commit where physics work as region module.
Moved all physics dlls out of Physics and into bin directly, so they can be found by the module loader. Removed call to PhysicsPluginManager.
This commit is contained in:
@@ -734,10 +734,6 @@ namespace OpenSim
|
||||
clientServer = clientNetworkServers;
|
||||
scene.LoadWorldMap();
|
||||
|
||||
scene.PhysicsScene.RequestAssetMethod = scene.PhysicsRequestAsset;
|
||||
scene.PhysicsScene.SetTerrain(scene.Heightmap.GetFloatsSerialised());
|
||||
scene.PhysicsScene.SetWaterLevel((float) regionInfo.RegionSettings.WaterHeight);
|
||||
|
||||
return scene;
|
||||
}
|
||||
|
||||
@@ -749,11 +745,8 @@ namespace OpenSim
|
||||
protected override Scene CreateScene(RegionInfo regionInfo, ISimulationDataService simDataService,
|
||||
IEstateDataService estateDataService, AgentCircuitManager circuitManager)
|
||||
{
|
||||
Vector3 regionExtent = new Vector3(regionInfo.RegionSizeX, regionInfo.RegionSizeY, regionInfo.RegionSizeZ);
|
||||
PhysicsScene physicsScene = GetPhysicsScene(regionInfo.RegionName, regionExtent);
|
||||
|
||||
return new Scene(
|
||||
regionInfo, circuitManager, physicsScene,
|
||||
regionInfo, circuitManager,
|
||||
simDataService, estateDataService,
|
||||
Config, m_version);
|
||||
}
|
||||
@@ -796,12 +789,6 @@ namespace OpenSim
|
||||
|
||||
# region Setup methods
|
||||
|
||||
protected override PhysicsScene GetPhysicsScene(string osSceneIdentifier, Vector3 regionExtent)
|
||||
{
|
||||
return GetPhysicsScene(
|
||||
m_configSettings.PhysicsEngine, m_configSettings.MeshEngineName, Config, osSceneIdentifier, regionExtent);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Handler to supply the current status of this sim
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user