diff options
Diffstat (limited to 'OpenSim/Region/Examples/SimpleModule/RegionModule.cs')
-rw-r--r-- | OpenSim/Region/Examples/SimpleModule/RegionModule.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Examples/SimpleModule/RegionModule.cs b/OpenSim/Region/Examples/SimpleModule/RegionModule.cs index 2e6ed42..327bd75 100644 --- a/OpenSim/Region/Examples/SimpleModule/RegionModule.cs +++ b/OpenSim/Region/Examples/SimpleModule/RegionModule.cs | |||
@@ -76,7 +76,7 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
76 | } | 76 | } |
77 | 77 | ||
78 | FileSystemObject fileObject = new FileSystemObject(m_scene, fileInfo, filePos); | 78 | FileSystemObject fileObject = new FileSystemObject(m_scene, fileInfo, filePos); |
79 | m_scene.AddSceneObject(fileObject, true); | 79 | m_scene.AddNewSceneObject(fileObject, true); |
80 | } | 80 | } |
81 | } | 81 | } |
82 | 82 | ||
@@ -106,7 +106,7 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
106 | ComplexObject complexObject = | 106 | ComplexObject complexObject = |
107 | new ComplexObject(m_scene, regionInfo.RegionHandle, LLUUID.Zero, m_scene.PrimIDAllocate(), | 107 | new ComplexObject(m_scene, regionInfo.RegionHandle, LLUUID.Zero, m_scene.PrimIDAllocate(), |
108 | pos + posOffset); | 108 | pos + posOffset); |
109 | m_scene.AddSceneObject(complexObject, true); | 109 | m_scene.AddNewSceneObject(complexObject, true); |
110 | } | 110 | } |
111 | } | 111 | } |
112 | 112 | ||
@@ -115,7 +115,7 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
115 | SceneObjectGroup sceneObject = | 115 | SceneObjectGroup sceneObject = |
116 | new CpuCounterObject(m_scene, regionInfo.RegionHandle, LLUUID.Zero, m_scene.PrimIDAllocate(), | 116 | new CpuCounterObject(m_scene, regionInfo.RegionHandle, LLUUID.Zero, m_scene.PrimIDAllocate(), |
117 | pos + new LLVector3(1f, 1f, 1f)); | 117 | pos + new LLVector3(1f, 1f, 1f)); |
118 | m_scene.AddSceneObject(sceneObject, true); | 118 | m_scene.AddNewSceneObject(sceneObject, true); |
119 | } | 119 | } |
120 | 120 | ||
121 | public void Close() | 121 | public void Close() |