diff options
author | lbsa71 | 2007-09-27 14:57:43 +0000 |
---|---|---|
committer | lbsa71 | 2007-09-27 14:57:43 +0000 |
commit | 863195612bdef56165f2b4354bab280c371618b9 (patch) | |
tree | 63cec15a6c0338a8777640ed13fd7c3ce05eeba7 /OpenSim/Region/Environment/Scenes/ScenePresence.cs | |
parent | revert change to libsecondlife.dll.config which breaks Linux (diff) | |
download | opensim-SC_OLD-863195612bdef56165f2b4354bab280c371618b9.zip opensim-SC_OLD-863195612bdef56165f2b4354bab280c371618b9.tar.gz opensim-SC_OLD-863195612bdef56165f2b4354bab280c371618b9.tar.bz2 opensim-SC_OLD-863195612bdef56165f2b4354bab280c371618b9.tar.xz |
Reverting back to 2017 since 2018 were causing Linux breakage; reopening Tleiades patch 444 and 445.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 5b6fe46..e6b8364 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -561,7 +561,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
561 | } | 561 | } |
562 | 562 | ||
563 | /// check for physics-related movement | 563 | /// check for physics-related movement |
564 | else if (LLVector3.Dist(lastPhysPos,AbsolutePosition) > 0.02) | 564 | else if (lastPhysPos.GetDistanceTo(AbsolutePosition) > 0.02) |
565 | { | 565 | { |
566 | SendTerseUpdateToAllClients(); | 566 | SendTerseUpdateToAllClients(); |
567 | m_updateCount = 0; | 567 | m_updateCount = 0; |
@@ -748,7 +748,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
748 | 748 | ||
749 | protected void CheckForSignificantMovement() | 749 | protected void CheckForSignificantMovement() |
750 | { | 750 | { |
751 | if (LLVector3.Dist(AbsolutePosition, posLastSignificantMove) > 2.0) | 751 | if (Helpers.VecDist(AbsolutePosition, posLastSignificantMove) > 2.0) |
752 | { | 752 | { |
753 | posLastSignificantMove = AbsolutePosition; | 753 | posLastSignificantMove = AbsolutePosition; |
754 | if (OnSignificantClientMovement != null) | 754 | if (OnSignificantClientMovement != null) |
@@ -919,4 +919,4 @@ namespace OpenSim.Region.Environment.Scenes | |||
919 | RemoveFromPhysicalScene(); | 919 | RemoveFromPhysicalScene(); |
920 | } | 920 | } |
921 | } | 921 | } |
922 | } | 922 | } \ No newline at end of file |