* Tweaks some locks when modifying an ODECharacter. This actually allows a user to log-in while the physics scene and the scripts are starting up. This also seems to smooth out the jerks on teleport/connect/disconnect a little bit.

* If you log-in while the simulator is starting up, you won't be able to move and the sim stats will say 0 FPS, and 0 Physics Frames and you may see only terrain.  Once the sim finishes starting up, it'll all resume as normal.
This commit is contained in:
Teravus Ovares
2009-01-31 16:49:32 +00:00
parent 4db9373b29
commit 85c0c0557e
2 changed files with 45 additions and 17 deletions

View File

@@ -1174,6 +1174,9 @@ namespace OpenSim.Region.Physics.OdePlugin
if (chr == null)
continue;
if (chr.Shell == IntPtr.Zero || chr.Body == IntPtr.Zero)
continue;
chr.IsColliding = false;
chr.CollidingGround = false;
chr.CollidingObj = false;