aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples/SimpleModule/RegionModule.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-11-07 22:08:58 +0000
committerJustin Clarke Casey2008-11-07 22:08:58 +0000
commitba1d9ca26b7b5e865824e16dc8930e85ef27eb54 (patch)
treef294fd0129360fef926a7ebd610adf4b7b813afa /OpenSim/Region/Examples/SimpleModule/RegionModule.cs
parent* Rename PrimIDAllocate() to more effectively convey what it does, and put th... (diff)
downloadopensim-SC_OLD-ba1d9ca26b7b5e865824e16dc8930e85ef27eb54.zip
opensim-SC_OLD-ba1d9ca26b7b5e865824e16dc8930e85ef27eb54.tar.gz
opensim-SC_OLD-ba1d9ca26b7b5e865824e16dc8930e85ef27eb54.tar.bz2
opensim-SC_OLD-ba1d9ca26b7b5e865824e16dc8930e85ef27eb54.tar.xz
* refactor: cleanup AllocateLocalPrimId() a bit more
Diffstat (limited to 'OpenSim/Region/Examples/SimpleModule/RegionModule.cs')
-rw-r--r--OpenSim/Region/Examples/SimpleModule/RegionModule.cs6
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