* Rename PrimIDAllocate() to more effectively convey what it does, and put the verb at the front

This commit is contained in:
Justin Clarke Casey
2008-11-07 21:50:03 +00:00
parent 47e3d4d1f0
commit fb694fb177
6 changed files with 15 additions and 14 deletions

View File

@@ -104,7 +104,7 @@ namespace OpenSim.Region.Examples.SimpleModule
// {
// Vector3 posOffset = new Vector3((i % objs) * 4, ((i % (objs*objs)) / (objs)) * 4, (i / (objs*objs)) * 4);
// ComplexObject complexObject =
// new ComplexObject(m_scene, regionInfo.RegionHandle, UUID.Zero, m_scene.PrimIDAllocate(),
// new ComplexObject(m_scene, regionInfo.RegionHandle, UUID.Zero, m_scene.AllocateLocalPrimId(),
// pos + posOffset);
// m_scene.AddNewSceneObject(complexObject, true);
// }
@@ -113,7 +113,7 @@ namespace OpenSim.Region.Examples.SimpleModule
// private void AddCpuCounter(RegionInfo regionInfo, Vector3 pos)
// {
// SceneObjectGroup sceneObject =
// new CpuCounterObject(m_scene, regionInfo.RegionHandle, UUID.Zero, m_scene.PrimIDAllocate(),
// new CpuCounterObject(m_scene, regionInfo.RegionHandle, UUID.Zero, m_scene.AllocateLocalPrimId(),
// pos + new Vector3(1f, 1f, 1f));
// m_scene.AddNewSceneObject(sceneObject, true);
// }