diff options
author | Jeff Ames | 2007-12-04 22:14:53 +0000 |
---|---|---|
committer | Jeff Ames | 2007-12-04 22:14:53 +0000 |
commit | f195725db447aad7595810a9950f656163bf1c13 (patch) | |
tree | 2d62dbd3635b008e9c41c2645fc71a6abbcc0a26 /OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | |
parent | made log messages for known unhandled packet types shorter and yellower. add... (diff) | |
download | opensim-SC_OLD-f195725db447aad7595810a9950f656163bf1c13.zip opensim-SC_OLD-f195725db447aad7595810a9950f656163bf1c13.tar.gz opensim-SC_OLD-f195725db447aad7595810a9950f656163bf1c13.tar.bz2 opensim-SC_OLD-f195725db447aad7595810a9950f656163bf1c13.tar.xz |
keeping opensim safe for children -- made some namespace references less explicit
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODECharacter.cs')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs index 1e15f5e..91e44f3 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | |||
@@ -3,6 +3,7 @@ using System.Collections.Generic; | |||
3 | using Axiom.Math; | 3 | using Axiom.Math; |
4 | using Ode.NET; | 4 | using Ode.NET; |
5 | using OpenSim.Framework; | 5 | using OpenSim.Framework; |
6 | using OpenSim.Framework.Console; | ||
6 | using OpenSim.Region.Physics.Manager; | 7 | using OpenSim.Region.Physics.Manager; |
7 | 8 | ||
8 | namespace OpenSim.Region.Physics.OdePlugin | 9 | namespace OpenSim.Region.Physics.OdePlugin |
@@ -229,7 +230,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
229 | CAPSULE_LENGTH = (SetSize.Z - ((SetSize.Z * 0.43f))); // subtract 43% of the size | 230 | CAPSULE_LENGTH = (SetSize.Z - ((SetSize.Z * 0.43f))); // subtract 43% of the size |
230 | d.BodyDestroy(Body); | 231 | d.BodyDestroy(Body); |
231 | d.GeomDestroy(Shell); | 232 | d.GeomDestroy(Shell); |
232 | //OpenSim.Framework.Console.MainLog.Instance.Verbose("PHYSICS", "Set Avatar Height To: " + (CAPSULE_RADIUS + CAPSULE_LENGTH)); | 233 | //MainLog.Instance.Verbose("PHYSICS", "Set Avatar Height To: " + (CAPSULE_RADIUS + CAPSULE_LENGTH)); |
233 | Shell = d.CreateCapsule(_parent_scene.space, capsuleradius, CAPSULE_LENGTH); | 234 | Shell = d.CreateCapsule(_parent_scene.space, capsuleradius, CAPSULE_LENGTH); |
234 | d.MassSetCapsule(out ShellMass, 50.0f, 3, CAPSULE_RADIUS, CAPSULE_LENGTH); | 235 | d.MassSetCapsule(out ShellMass, 50.0f, 3, CAPSULE_RADIUS, CAPSULE_LENGTH); |
235 | Body = d.BodyCreate(_parent_scene.world); | 236 | Body = d.BodyCreate(_parent_scene.world); |
@@ -428,13 +429,12 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
428 | int[] arrayitem = _parent_scene.calculateSpaceArrayItemFromPos(_position); | 429 | int[] arrayitem = _parent_scene.calculateSpaceArrayItemFromPos(_position); |
429 | if (primScenAvatarIn == "0") | 430 | if (primScenAvatarIn == "0") |
430 | { | 431 | { |
431 | OpenSim.Framework.Console.MainLog.Instance.Verbose("Physics", "Avatar " + m_name + " in space with no prim. Arr:':" + arrayitem[0].ToString() + "," + arrayitem[1].ToString()); | 432 | MainLog.Instance.Verbose("Physics", "Avatar " + m_name + " in space with no prim. Arr:':" + arrayitem[0].ToString() + "," + arrayitem[1].ToString()); |
432 | } | 433 | } |
433 | else | 434 | else |
434 | { | 435 | { |
435 | OpenSim.Framework.Console.MainLog.Instance.Verbose("Physics", "Avatar " + m_name + " in Prim space':" + primScenAvatarIn + ". Arr:" + arrayitem[0].ToString() + "," + arrayitem[1].ToString()); | 436 | MainLog.Instance.Verbose("Physics", "Avatar " + m_name + " in Prim space':" + primScenAvatarIn + ". Arr:" + arrayitem[0].ToString() + "," + arrayitem[1].ToString()); |
436 | } | 437 | } |
437 | |||
438 | } | 438 | } |
439 | } | 439 | } |
440 | else | 440 | else |