mirror of
https://github.com/opensim/opensim.git
synced 2026-06-12 23:35:35 +08:00
* Rename PrimIDAllocate() to more effectively convey what it does, and put the verb at the front
This commit is contained in:
@@ -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);
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user