mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Formatting cleanup.
This commit is contained in:
@@ -528,7 +528,7 @@ namespace OpenSim.Region.Physics.BulletDotNETPlugin
|
||||
{
|
||||
// Teravus: Kitto, this code causes recurring errors that stall physics permenantly unless
|
||||
// the values are checked, so checking below.
|
||||
// Is there any reason that we don't do this in ScenePresence?
|
||||
// Is there any reason that we don't do this in ScenePresence?
|
||||
// The only physics engine that benefits from it in the physics plugin is this one
|
||||
|
||||
if (x > (int)Constants.RegionSize || y > (int)Constants.RegionSize ||
|
||||
@@ -650,7 +650,7 @@ namespace OpenSim.Region.Physics.BulletDotNETPlugin
|
||||
|
||||
if (iPropertiesNotSupportedDefault == 0)
|
||||
{
|
||||
#if SPAM
|
||||
#if SPAM
|
||||
m_log.Warn("NonMesh");
|
||||
#endif
|
||||
return false;
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace OpenSim.Region.Physics.Manager
|
||||
plugHard = new ZeroMesherPlugin();
|
||||
_MeshPlugins.Add(plugHard.GetName(), plugHard);
|
||||
|
||||
m_log.Info("[PHYSICS]: Added meshing engine: " + plugHard.GetName());
|
||||
m_log.Info("[PHYSICS]: Added meshing engine: " + plugHard.GetName());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -93,7 +93,7 @@ namespace OpenSim.Region.Physics.Manager
|
||||
BANKING_TIMESCALE = 40,
|
||||
REFERENCE_FRAME = 44
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
[Flags]
|
||||
public enum VehicleFlag
|
||||
|
||||
@@ -228,7 +228,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
mono [0x81d28b6]
|
||||
mono [0x81ea2c6]
|
||||
/lib/i686/cmov/libpthread.so.0 [0xb7e744c0]
|
||||
/lib/i686/cmov/libc.so.6(clone+0x5e) [0xb7dcd6de]
|
||||
/lib/i686/cmov/libc.so.6(clone+0x5e) [0xb7dcd6de]
|
||||
*/
|
||||
|
||||
// Exclude heightfield geom
|
||||
|
||||
@@ -2536,7 +2536,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
|
||||
if (iPropertiesNotSupportedDefault == 0)
|
||||
{
|
||||
#if SPAM
|
||||
#if SPAM
|
||||
m_log.Warn("NonMesh");
|
||||
#endif
|
||||
return false;
|
||||
@@ -3334,7 +3334,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
{
|
||||
// this._heightmap[i] = (double)heightMap[i];
|
||||
// dbm (danx0r) -- creating a buffer zone of one extra sample all around
|
||||
//_origheightmap = heightMap;
|
||||
//_origheightmap = heightMap;
|
||||
|
||||
float[] _heightmap;
|
||||
|
||||
@@ -3520,16 +3520,16 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
|
||||
d.GeomDestroy(g);
|
||||
//removingHeightField = new float[0];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
m_log.Warn("[PHYSICS]: Couldn't proceed with UnCombine. Region has inconsistant data.");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override void SetWaterLevel(float baseheight)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user