aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneXmlLoader.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneXmlLoader.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneXmlLoader.cs6
1 files changed, 3 insertions, 3 deletions
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 @@
1using System; 1using System;
2using System.Collections.Generic; 2using System.Collections.Generic;
3using System.Text; 3using System.Text;
4using System.Xml; 4using System.Xml;
@@ -47,7 +47,7 @@ namespace OpenSim.Region.Environment.Scenes
47 bool UsePhysics = (((rootPart.ObjectFlags & (uint)LLObject.ObjectFlags.Physics) > 0) && m_parentScene.m_physicalPrim); 47 bool UsePhysics = (((rootPart.ObjectFlags & (uint)LLObject.ObjectFlags.Physics) > 0) && m_parentScene.m_physicalPrim);
48 if ((rootPart.ObjectFlags & (uint)LLObject.ObjectFlags.Phantom) == 0) 48 if ((rootPart.ObjectFlags & (uint)LLObject.ObjectFlags.Phantom) == 0)
49 { 49 {
50 rootPart.PhysActor = m_innerScene.PhyScene.AddPrimShape( 50 rootPart.PhysActor = m_innerScene.PhysicsScene.AddPrimShape(
51 rootPart.Name, 51 rootPart.Name,
52 rootPart.Shape, 52 rootPart.Shape,
53 new PhysicsVector(rootPart.AbsolutePosition.X, rootPart.AbsolutePosition.Y, 53 new PhysicsVector(rootPart.AbsolutePosition.X, rootPart.AbsolutePosition.Y,
@@ -117,7 +117,7 @@ namespace OpenSim.Region.Environment.Scenes
117 bool UsePhysics = (((rootPart.ObjectFlags & (uint)LLObject.ObjectFlags.Physics) > 0) && m_parentScene.m_physicalPrim); 117 bool UsePhysics = (((rootPart.ObjectFlags & (uint)LLObject.ObjectFlags.Physics) > 0) && m_parentScene.m_physicalPrim);
118 if ((rootPart.ObjectFlags & (uint)LLObject.ObjectFlags.Phantom) == 0) 118 if ((rootPart.ObjectFlags & (uint)LLObject.ObjectFlags.Phantom) == 0)
119 { 119 {
120 rootPart.PhysActor = m_innerScene.PhyScene.AddPrimShape( 120 rootPart.PhysActor = m_innerScene.PhysicsScene.AddPrimShape(
121 rootPart.Name, 121 rootPart.Name,
122 rootPart.Shape, 122 rootPart.Shape,
123 new PhysicsVector(rootPart.AbsolutePosition.X, rootPart.AbsolutePosition.Y, 123 new PhysicsVector(rootPart.AbsolutePosition.X, rootPart.AbsolutePosition.Y,