aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics
diff options
context:
space:
mode:
authorRobert Adams2013-04-30 13:10:15 -0700
committerRobert Adams2013-04-30 13:10:15 -0700
commit46ae84cfba4b3256119422dd5dfba84da5d07165 (patch)
tree93e39012231ba09c765d0845718a33f0273e1a5f /OpenSim/Region/Physics
parentminor: remove some mono compiler warnings in ServicesServerBase (diff)
downloadopensim-SC_OLD-46ae84cfba4b3256119422dd5dfba84da5d07165.zip
opensim-SC_OLD-46ae84cfba4b3256119422dd5dfba84da5d07165.tar.gz
opensim-SC_OLD-46ae84cfba4b3256119422dd5dfba84da5d07165.tar.bz2
opensim-SC_OLD-46ae84cfba4b3256119422dd5dfba84da5d07165.tar.xz
BulletSim: fix error messages created while an avatar has no initial
collisions. Usually happens when logging in an avatar that had been previously flying. Uninitialized variable.
Diffstat (limited to 'OpenSim/Region/Physics')
-rwxr-xr-xOpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs
index 309d004..f047176 100755
--- a/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs
@@ -97,6 +97,9 @@ public abstract class BSPhysObject : PhysicsActor
97 97
98 CollisionCollection = new CollisionEventUpdate(); 98 CollisionCollection = new CollisionEventUpdate();
99 CollisionsLastReported = CollisionCollection; 99 CollisionsLastReported = CollisionCollection;
100 CollisionsLastTick = new CollisionEventUpdate();
101 CollisionsLastTickStep = -1;
102
100 SubscribedEventsMs = 0; 103 SubscribedEventsMs = 0;
101 CollidingStep = 0; 104 CollidingStep = 0;
102 CollidingGroundStep = 0; 105 CollidingGroundStep = 0;