* Stop requiring local ids in the SOG constructors.

* These are assigned when the object is attached to the scene
This commit is contained in:
Justin Clarke Casey
2008-11-07 21:07:14 +00:00
parent af35f4cb4a
commit 54e10e5b61
8 changed files with 38 additions and 35 deletions

View File

@@ -34,8 +34,8 @@ namespace OpenSim.Region.Examples.SimpleModule
{
public class FileSystemObject : SceneObjectGroup
{
public FileSystemObject(Scene world, FileInfo fileInfo, Vector3 pos)
: base(UUID.Zero, world.NextLocalId, pos, PrimitiveBaseShape.Default)
public FileSystemObject(FileInfo fileInfo, Vector3 pos)
: base(UUID.Zero, pos, PrimitiveBaseShape.Default)
{
Text = fileInfo.Name;
}