Formatting cleanup.

This commit is contained in:
Jeff Ames
2008-05-16 01:22:11 +00:00
parent e25818d832
commit 65c5efe43b
261 changed files with 3718 additions and 3831 deletions

View File

@@ -140,7 +140,7 @@ namespace OpenSim.Region.Physics.Manager
// a race condition if the last subscriber unsubscribes
// immediately after the null check and before the event is raised.
RequestTerseUpdate handler = OnRequestTerseUpdate;
if (handler != null)
{
handler();
@@ -163,9 +163,9 @@ namespace OpenSim.Region.Physics.Manager
public virtual void SendCollisionUpdate(EventArgs e)
{
CollisionUpdate handler = OnCollisionUpdate;
if (handler != null)
{
{
handler(e);
}
}
@@ -205,9 +205,9 @@ namespace OpenSim.Region.Physics.Manager
public class NullPhysicsActor : PhysicsActor
{
public override bool Stopped
{
get{ return false; }
public override bool Stopped
{
get{ return false; }
}
public override PhysicsVector Position
@@ -222,7 +222,7 @@ namespace OpenSim.Region.Physics.Manager
set { return; }
}
public override uint LocalID
public override uint LocalID
{
set { return; }
}
@@ -240,14 +240,14 @@ namespace OpenSim.Region.Physics.Manager
public override float Buoyancy
{
get { return 0f; }
set { return; }
set { return; }
}
public override bool FloatOnWater
{
set { return; }
}
public override bool CollidingGround
{
get { return false; }
@@ -297,7 +297,7 @@ namespace OpenSim.Region.Physics.Manager
set { return; }
}
public override float CollisionScore
public override float CollisionScore
{
get { return 0f; }
}
@@ -385,7 +385,7 @@ namespace OpenSim.Region.Physics.Manager
public override void SubscribeEvents(int ms)
{
}
public override void UnSubscribeEvents()
{

View File

@@ -94,7 +94,7 @@ namespace OpenSim.Region.Physics.Manager
_MeshPlugins.Add(plugHard.GetName(), plugHard);
m_log.Info("[PHYSICS]: Added meshing engine: " + plugHard.GetName());
// And now walk all assemblies (DLLs effectively) and see if they are home
// And now walk all assemblies (DLLs effectively) and see if they are home
// of a plugin that is of interest for us
string path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Physics");
string[] pluginFiles = Directory.GetFiles(path, "*.dll");
@@ -108,11 +108,11 @@ namespace OpenSim.Region.Physics.Manager
private void AddPlugin(string FileName)
{
// TODO / NOTE
// The assembly named 'OpenSim.Region.Physics.BasicPhysicsPlugin' was loaded from
// The assembly named 'OpenSim.Region.Physics.BasicPhysicsPlugin' was loaded from
// 'file:///C:/OpenSim/trunk2/bin/Physics/OpenSim.Region.Physics.BasicPhysicsPlugin.dll'
// using the LoadFrom context. The use of this context can result in unexpected behavior
// for serialization, casting and dependency resolution. In almost all cases, it is recommended
// that the LoadFrom context be avoided. This can be done by installing assemblies in the
// for serialization, casting and dependency resolution. In almost all cases, it is recommended
// that the LoadFrom context be avoided. This can be done by installing assemblies in the
// Global Assembly Cache or in the ApplicationBase directory and using Assembly.
// Load when explicitly loading assemblies.
Assembly pluginAssembly = Assembly.LoadFrom(FileName);

View File

@@ -35,7 +35,7 @@ namespace OpenSim.Region.Physics.Manager
{
NONE = 0,
AGENT = 1,
ACTIVE = 2,
ACTIVE = 2,
PASSIVE = 3,
SCRIPTED = 4
}

View File

@@ -31,9 +31,9 @@ using OpenSim.Framework;
/*
* This is the zero mesher.
* Whatever you want him to mesh, he can't, telling you that by responding with a null pointer.
* Effectivly this is for switching off meshing and for testing as each physics machine should deal
* Effectivly this is for switching off meshing and for testing as each physics machine should deal
* with the null pointer situation.
* But it's also a convenience thing, as physics machines can rely on having a mesher in any situation, even
* But it's also a convenience thing, as physics machines can rely on having a mesher in any situation, even
* if it's a dump one like this.
* Note, that this mesher is *not* living in a module but in the manager itself, so
* it's always availabe and thus the default in case of configuration errors