From ba2de258f420245d07c4d194f8f8a71abe299aff Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Tue, 25 Mar 2008 14:27:39 +0000 Subject: * Refactored out circular reference in Region.Environment <-> Framework.Data.Base We REALLY need to get the db layer sorted soon... --- OpenSim/Region/Examples/SimpleModule/FileSystemObject.cs | 1 - OpenSim/Region/Examples/SimpleModule/RegionModule.cs | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Examples') diff --git a/OpenSim/Region/Examples/SimpleModule/FileSystemObject.cs b/OpenSim/Region/Examples/SimpleModule/FileSystemObject.cs index 7a1e93f..34ed086 100644 --- a/OpenSim/Region/Examples/SimpleModule/FileSystemObject.cs +++ b/OpenSim/Region/Examples/SimpleModule/FileSystemObject.cs @@ -38,7 +38,6 @@ namespace OpenSim.Region.Examples.SimpleModule : base(world, world.RegionInfo.RegionHandle, LLUUID.Zero, world.NextLocalId, pos, PrimitiveBaseShape.Default) { Text = fileInfo.Name; - ScheduleGroupForFullUpdate(); } protected override bool InSceneBackup diff --git a/OpenSim/Region/Examples/SimpleModule/RegionModule.cs b/OpenSim/Region/Examples/SimpleModule/RegionModule.cs index 32477f4..3b21d43 100644 --- a/OpenSim/Region/Examples/SimpleModule/RegionModule.cs +++ b/OpenSim/Region/Examples/SimpleModule/RegionModule.cs @@ -55,8 +55,8 @@ namespace OpenSim.Region.Examples.SimpleModule LLVector3 pos = new LLVector3(110, 129, 27); AddCpuCounter(regionInfo, pos); - AddComplexObjects(regionInfo, pos); - AddAvatars(); + // AddComplexObjects(regionInfo, pos); + // AddAvatars(); AddFileSystemObjects(); } @@ -79,6 +79,7 @@ namespace OpenSim.Region.Examples.SimpleModule FileSystemObject fileObject = new FileSystemObject(m_scene, fileInfo, filePos); m_scene.AddEntity(fileObject); + fileObject.ScheduleGroupForFullUpdate(); } } -- cgit v1.1