mirror of
https://github.com/opensim/opensim.git
synced 2026-05-27 20:35:59 +08:00
* Stop requiring local ids in the SOG constructors.
* These are assigned when the object is attached to the scene
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user