mirror of
https://github.com/opensim/opensim.git
synced 2026-05-19 14:35:44 +08:00
* refactor: Attach a scene object to a scene separately from its construction
This commit is contained in:
@@ -35,7 +35,7 @@ namespace OpenSim.Region.Examples.SimpleModule
|
||||
public class FileSystemObject : SceneObjectGroup
|
||||
{
|
||||
public FileSystemObject(Scene world, FileInfo fileInfo, Vector3 pos)
|
||||
: base(world, world.RegionInfo.RegionHandle, UUID.Zero, world.NextLocalId, pos, PrimitiveBaseShape.Default)
|
||||
: base(UUID.Zero, world.NextLocalId, pos, PrimitiveBaseShape.Default)
|
||||
{
|
||||
Text = fileInfo.Name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user