diff options
author | UbitUmarov | 2012-09-04 07:32:03 +0100 |
---|---|---|
committer | UbitUmarov | 2012-09-04 07:32:03 +0100 |
commit | d4fad2ba42445f72b8a04378b21818ec82ab1089 (patch) | |
tree | c8e9a1f7e586ec2018307dbe59e984e9a6155d87 /OpenSim/Region/Framework | |
parent | let avatar keep flying in tps to same region. (still bad for other (diff) | |
download | opensim-SC_OLD-d4fad2ba42445f72b8a04378b21818ec82ab1089.zip opensim-SC_OLD-d4fad2ba42445f72b8a04378b21818ec82ab1089.tar.gz opensim-SC_OLD-d4fad2ba42445f72b8a04378b21818ec82ab1089.tar.bz2 opensim-SC_OLD-d4fad2ba42445f72b8a04378b21818ec82ab1089.tar.xz |
a forgotten file plus minor changes. Imp and SL viewer seem to preserve
flight. FS 4.2.2 does not.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 47b2ead..34ac7d4 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1264,7 +1264,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
1264 | 1264 | ||
1265 | Vector3 look = Velocity; | 1265 | Vector3 look = Velocity; |
1266 | 1266 | ||
1267 | if ((look.X == 0) && (look.Y == 0) && (look.Z == 0)) | 1267 | // if ((look.X == 0) && (look.Y == 0) && (look.Z == 0)) |
1268 | if ((Math.Abs(look.X) < 0.1) && (Math.Abs(look.Y) < 0.1) && (Math.Abs(look.Z) < 0.1)) | ||
1268 | { | 1269 | { |
1269 | look = new Vector3(0.99f, 0.042f, 0); | 1270 | look = new Vector3(0.99f, 0.042f, 0); |
1270 | } | 1271 | } |