* Refactor: Change previous commits Object methods to SceneObject methods instead, on the basis that this is less likely to cause confusion with c#'s base object type

This commit is contained in:
Justin Clarke Casey
2008-05-24 22:45:13 +00:00
parent 79eecd3d25
commit f3067ce6f9
9 changed files with 30 additions and 23 deletions

View File

@@ -73,6 +73,12 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver
m_log.Warn("[ARCHIVER]: Archive region not yet implemented");
List<EntityBase> entities = m_scene.GetEntities();
foreach (EntityBase entity in entities)
{
}
string serEntities = SerializeObjects(entities);
if (serEntities != null && serEntities.Length > 0)

View File

@@ -179,7 +179,7 @@ namespace OpenSim.Region.Environment.Modules.World.TreePopulator
if (Util.RandomClass.NextDouble() < killLikelyhood)
{
m_scene.RemoveObject(selectedTree.ParentGroup);
m_scene.RemoveSceneObject(selectedTree.ParentGroup);
m_trees.Remove(selectedTree.ParentGroup.UUID);
m_scene.ForEachClient(delegate(IClientAPI controller)