a forgotten file plus minor changes. Imp and SL viewer seem to preserve

flight. FS 4.2.2 does not.
This commit is contained in:
UbitUmarov
2012-09-04 07:32:03 +01:00
parent e1755e2d71
commit d4fad2ba42
3 changed files with 11 additions and 3 deletions

View File

@@ -1264,7 +1264,8 @@ namespace OpenSim.Region.Framework.Scenes
Vector3 look = Velocity;
if ((look.X == 0) && (look.Y == 0) && (look.Z == 0))
// if ((look.X == 0) && (look.Y == 0) && (look.Z == 0))
if ((Math.Abs(look.X) < 0.1) && (Math.Abs(look.Y) < 0.1) && (Math.Abs(look.Z) < 0.1))
{
look = new Vector3(0.99f, 0.042f, 0);
}