From fb694fb177a02199e6a4ff1f48f866d10e2ef29e Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 7 Nov 2008 21:50:03 +0000 Subject: * Rename PrimIDAllocate() to more effectively convey what it does, and put the verb at the front --- OpenSim/Region/Examples/SimpleModule/RegionModule.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Examples') 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 // { // 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); // } -- cgit v1.1