diff options
author | Teravus Ovares (Dan Olivares) | 2009-10-16 14:30:55 -0400 |
---|---|---|
committer | Teravus Ovares (Dan Olivares) | 2009-10-16 14:30:55 -0400 |
commit | 0079d0a7c423db6e95c04b9055127b53ae6a3622 (patch) | |
tree | 2d218e548720be8aa5c114ebc618f7cf09e8bb6a /OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | |
parent | Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-0079d0a7c423db6e95c04b9055127b53ae6a3622.zip opensim-SC_OLD-0079d0a7c423db6e95c04b9055127b53ae6a3622.tar.gz opensim-SC_OLD-0079d0a7c423db6e95c04b9055127b53ae6a3622.tar.bz2 opensim-SC_OLD-0079d0a7c423db6e95c04b9055127b53ae6a3622.tar.xz |
* One more attempt at the NullRef In The OdePlugin. This might fix it, but it will definitely get us closer to the root cause.
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODECharacter.cs')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs index e5458d4..1fff846 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | |||
@@ -1109,10 +1109,10 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1109 | try | 1109 | try |
1110 | { | 1110 | { |
1111 | vec = d.BodyGetPosition(Body); | 1111 | vec = d.BodyGetPosition(Body); |
1112 | |||
1113 | } | 1112 | } |
1114 | catch (NullReferenceException) | 1113 | catch (NullReferenceException) |
1115 | { | 1114 | { |
1115 | _parent_scene.BadCharacter(this); | ||
1116 | vec = new d.Vector3(_position.X, _position.Y, _position.Z); | 1116 | vec = new d.Vector3(_position.X, _position.Y, _position.Z); |
1117 | base.RaiseOutOfBounds(_position); // Tells ScenePresence that there's a problem! | 1117 | base.RaiseOutOfBounds(_position); // Tells ScenePresence that there's a problem! |
1118 | m_log.WarnFormat("[ODEPLUGIN]: Avatar Null reference for Avatar: {0}", m_name); | 1118 | m_log.WarnFormat("[ODEPLUGIN]: Avatar Null reference for Avatar: {0}", m_name); |