diff options
author | Robert Adams | 2013-04-30 13:10:15 -0700 |
---|---|---|
committer | Robert Adams | 2013-04-30 13:10:15 -0700 |
commit | 46ae84cfba4b3256119422dd5dfba84da5d07165 (patch) | |
tree | 93e39012231ba09c765d0845718a33f0273e1a5f /OpenSim | |
parent | minor: remove some mono compiler warnings in ServicesServerBase (diff) | |
download | opensim-SC-46ae84cfba4b3256119422dd5dfba84da5d07165.zip opensim-SC-46ae84cfba4b3256119422dd5dfba84da5d07165.tar.gz opensim-SC-46ae84cfba4b3256119422dd5dfba84da5d07165.tar.bz2 opensim-SC-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')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs | 3 |
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; |