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