From 46ae84cfba4b3256119422dd5dfba84da5d07165 Mon Sep 17 00:00:00 2001 From: Robert Adams Date: Tue, 30 Apr 2013 13:10:15 -0700 Subject: 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. --- OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Region/Physics') 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 CollisionCollection = new CollisionEventUpdate(); CollisionsLastReported = CollisionCollection; + CollisionsLastTick = new CollisionEventUpdate(); + CollisionsLastTickStep = -1; + SubscribedEventsMs = 0; CollidingStep = 0; CollidingGroundStep = 0; -- cgit v1.1