diff options
Diffstat (limited to 'OpenSim/Region/Examples/SimpleModule')
-rw-r--r-- | OpenSim/Region/Examples/SimpleModule/RegionModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Examples/SimpleModule/RegionModule.cs b/OpenSim/Region/Examples/SimpleModule/RegionModule.cs index 4fc0dbb..b3965d7 100644 --- a/OpenSim/Region/Examples/SimpleModule/RegionModule.cs +++ b/OpenSim/Region/Examples/SimpleModule/RegionModule.cs | |||
@@ -104,7 +104,7 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
104 | // { | 104 | // { |
105 | // Vector3 posOffset = new Vector3((i % objs) * 4, ((i % (objs*objs)) / (objs)) * 4, (i / (objs*objs)) * 4); | 105 | // Vector3 posOffset = new Vector3((i % objs) * 4, ((i % (objs*objs)) / (objs)) * 4, (i / (objs*objs)) * 4); |
106 | // ComplexObject complexObject = | 106 | // ComplexObject complexObject = |
107 | // new ComplexObject(m_scene, regionInfo.RegionHandle, UUID.Zero, m_scene.PrimIDAllocate(), | 107 | // new ComplexObject(m_scene, regionInfo.RegionHandle, UUID.Zero, m_scene.AllocateLocalPrimId(), |
108 | // pos + posOffset); | 108 | // pos + posOffset); |
109 | // m_scene.AddNewSceneObject(complexObject, true); | 109 | // m_scene.AddNewSceneObject(complexObject, true); |
110 | // } | 110 | // } |
@@ -113,7 +113,7 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
113 | // private void AddCpuCounter(RegionInfo regionInfo, Vector3 pos) | 113 | // private void AddCpuCounter(RegionInfo regionInfo, Vector3 pos) |
114 | // { | 114 | // { |
115 | // SceneObjectGroup sceneObject = | 115 | // SceneObjectGroup sceneObject = |
116 | // new CpuCounterObject(m_scene, regionInfo.RegionHandle, UUID.Zero, m_scene.PrimIDAllocate(), | 116 | // new CpuCounterObject(m_scene, regionInfo.RegionHandle, UUID.Zero, m_scene.AllocateLocalPrimId(), |
117 | // pos + new Vector3(1f, 1f, 1f)); | 117 | // pos + new Vector3(1f, 1f, 1f)); |
118 | // m_scene.AddNewSceneObject(sceneObject, true); | 118 | // m_scene.AddNewSceneObject(sceneObject, true); |
119 | // } | 119 | // } |