Commenting out InnerScene.SceneObjects for now since it was unpopulated and not used by active code (as far as I can see), so a source of confusion. All

current code uses the Entities dictionary
This commit is contained in:
Justin Clarke Casey
2008-01-07 02:33:22 +00:00
parent 3e75dede1b
commit 95c9a9939e
3 changed files with 30 additions and 27 deletions

View File

@@ -69,7 +69,9 @@ namespace OpenSim.Region.ExtensionsScriptModule
/// </summary>
public SceneObjectGroup Task
{
get { return Scene.Objects[ObjectID]; }
// XXX Casting not ideal, but previous Scene.Objects propery wasn't actually populated, so
// wouldn't have worked anyway.
get { return (SceneObjectGroup)Scene.Entities[ObjectID]; }
}
/// <summary>