From 7704bb6f63f608df79fee2c3dcea7d5deabeee17 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Thu, 29 Nov 2007 15:27:57 +0000 Subject: * Fixed neighbour range bug * Various refactorings --- OpenSim/Region/Environment/Scenes/SceneXmlLoader.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes/SceneXmlLoader.cs') diff --git a/OpenSim/Region/Environment/Scenes/SceneXmlLoader.cs b/OpenSim/Region/Environment/Scenes/SceneXmlLoader.cs index 5c460be..e9c0124 100644 --- a/OpenSim/Region/Environment/Scenes/SceneXmlLoader.cs +++ b/OpenSim/Region/Environment/Scenes/SceneXmlLoader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Text; using System.Xml; @@ -47,7 +47,7 @@ namespace OpenSim.Region.Environment.Scenes bool UsePhysics = (((rootPart.ObjectFlags & (uint)LLObject.ObjectFlags.Physics) > 0) && m_parentScene.m_physicalPrim); if ((rootPart.ObjectFlags & (uint)LLObject.ObjectFlags.Phantom) == 0) { - rootPart.PhysActor = m_innerScene.PhyScene.AddPrimShape( + rootPart.PhysActor = m_innerScene.PhysicsScene.AddPrimShape( rootPart.Name, rootPart.Shape, new PhysicsVector(rootPart.AbsolutePosition.X, rootPart.AbsolutePosition.Y, @@ -117,7 +117,7 @@ namespace OpenSim.Region.Environment.Scenes bool UsePhysics = (((rootPart.ObjectFlags & (uint)LLObject.ObjectFlags.Physics) > 0) && m_parentScene.m_physicalPrim); if ((rootPart.ObjectFlags & (uint)LLObject.ObjectFlags.Phantom) == 0) { - rootPart.PhysActor = m_innerScene.PhyScene.AddPrimShape( + rootPart.PhysActor = m_innerScene.PhysicsScene.AddPrimShape( rootPart.Name, rootPart.Shape, new PhysicsVector(rootPart.AbsolutePosition.X, rootPart.AbsolutePosition.Y, -- cgit v1.1