From 3d938f76b7c2f8ede862f9979383d79dfb21372c Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Fri, 7 Dec 2007 08:54:31 +0000 Subject: Updates to LibSL revision 1498. Thanks Johan! --- OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs') diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index bcee5c7..89e2f0d 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs @@ -675,7 +675,7 @@ namespace OpenSim.Region.Environment.Scenes /// public override void Update() { - if (lastPhysGroupPos.GetDistanceTo(AbsolutePosition) > 0.02) + if (Util.GetDistanceTo(lastPhysGroupPos, AbsolutePosition) > 0.02) { foreach (SceneObjectPart part in m_parts.Values) { -- cgit v1.1