diff options
author | Justin Clarke Casey | 2008-11-07 21:50:03 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-11-07 21:50:03 +0000 |
commit | fb694fb177a02199e6a4ff1f48f866d10e2ef29e (patch) | |
tree | 7a5d39f7382cbc13031b7a6084b91bdc25f44fd9 /OpenSim/Region/Examples/SimpleModule/RegionModule.cs | |
parent | * Remove next local id from SceneBase (diff) | |
download | opensim-SC_OLD-fb694fb177a02199e6a4ff1f48f866d10e2ef29e.zip opensim-SC_OLD-fb694fb177a02199e6a4ff1f48f866d10e2ef29e.tar.gz opensim-SC_OLD-fb694fb177a02199e6a4ff1f48f866d10e2ef29e.tar.bz2 opensim-SC_OLD-fb694fb177a02199e6a4ff1f48f866d10e2ef29e.tar.xz |
* Rename PrimIDAllocate() to more effectively convey what it does, and put the verb at the front
Diffstat (limited to 'OpenSim/Region/Examples/SimpleModule/RegionModule.cs')
-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 | // } |