mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
now break several things at same time... sog/sop updates, threads options,...
This commit is contained in:
@@ -229,16 +229,6 @@ namespace OpenSim.Region.PhysicsModule.BasicPhysics
|
||||
return fps;
|
||||
}
|
||||
|
||||
public override void GetResults()
|
||||
{
|
||||
}
|
||||
|
||||
public override bool IsThreaded
|
||||
{
|
||||
get { return (false); // for now we won't be multithreaded
|
||||
}
|
||||
}
|
||||
|
||||
public override void SetTerrain(float[] heightMap)
|
||||
{
|
||||
_heightMap = heightMap;
|
||||
|
||||
@@ -352,13 +352,9 @@ namespace OpenSim.Region.PhysicsModule.BulletS
|
||||
if (BSParam.UseSeparatePhysicsThread)
|
||||
{
|
||||
// The physics simulation should happen independently of the heartbeat loop
|
||||
m_physicsThread
|
||||
= WorkManager.StartThread(
|
||||
m_physicsThread = WorkManager.StartThread(
|
||||
BulletSPluginPhysicsThread,
|
||||
string.Format("{0} ({1})", BulletEngineName, RegionName),
|
||||
ThreadPriority.Normal,
|
||||
true,
|
||||
true);
|
||||
string.Format("{0} ({1})", BulletEngineName, RegionName));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -942,8 +938,6 @@ namespace OpenSim.Region.PhysicsModule.BulletS
|
||||
|
||||
#endregion // Simulation
|
||||
|
||||
public override void GetResults() { }
|
||||
|
||||
#region Terrain
|
||||
|
||||
public override void SetTerrain(float[] heightMap) {
|
||||
@@ -1124,8 +1118,6 @@ namespace OpenSim.Region.PhysicsModule.BulletS
|
||||
return topColliders;
|
||||
}
|
||||
|
||||
public override bool IsThreaded { get { return false; } }
|
||||
|
||||
#region Extensions
|
||||
public override object Extension(string pFunct, params object[] pParams)
|
||||
{
|
||||
|
||||
@@ -3204,16 +3204,6 @@ namespace OpenSim.Region.PhysicsModule.ODE
|
||||
}
|
||||
}
|
||||
|
||||
public override void GetResults()
|
||||
{
|
||||
}
|
||||
|
||||
public override bool IsThreaded
|
||||
{
|
||||
// for now we won't be multithreaded
|
||||
get { return false; }
|
||||
}
|
||||
|
||||
public override void SetTerrain(float[] heightMap)
|
||||
{
|
||||
if (m_worldOffset != Vector3.Zero && m_parentScene != null)
|
||||
|
||||
@@ -297,16 +297,6 @@ namespace OpenSim.Region.PhysicsModule.POS
|
||||
return 1.0f;
|
||||
}
|
||||
|
||||
public override void GetResults()
|
||||
{
|
||||
}
|
||||
|
||||
public override bool IsThreaded
|
||||
{
|
||||
// for now we won't be multithreaded
|
||||
get { return (false); }
|
||||
}
|
||||
|
||||
public override void SetTerrain(float[] heightMap)
|
||||
{
|
||||
_heightMap = heightMap;
|
||||
|
||||
@@ -85,11 +85,6 @@ namespace OpenSim.Region.PhysicsModules.SharedBase
|
||||
return 0f;
|
||||
}
|
||||
|
||||
public override void GetResults()
|
||||
{
|
||||
m_log.Info("[PHYSICS]: NullPhysicsScene : GetResults()");
|
||||
}
|
||||
|
||||
public override void SetTerrain(float[] heightMap)
|
||||
{
|
||||
m_log.InfoFormat("[PHYSICS]: NullPhysicsScene : SetTerrain({0} items)", heightMap.Length);
|
||||
@@ -99,11 +94,6 @@ namespace OpenSim.Region.PhysicsModules.SharedBase
|
||||
{
|
||||
}
|
||||
|
||||
public override bool IsThreaded
|
||||
{
|
||||
get { return false; }
|
||||
}
|
||||
|
||||
public override void Dispose()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user