diff options
author | Justin Clarke Casey | 2008-01-07 02:33:22 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-01-07 02:33:22 +0000 |
commit | 95c9a9939efc41e2f35defac5e3d7dae40890876 (patch) | |
tree | cd97a4b9c4feb9c4c1f6fa4b1c74e092ff97acac /OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs | |
parent | Persistent prim inventory phase 5. Restart scripts contained in persisted pr... (diff) | |
download | opensim-SC-95c9a9939efc41e2f35defac5e3d7dae40890876.zip opensim-SC-95c9a9939efc41e2f35defac5e3d7dae40890876.tar.gz opensim-SC-95c9a9939efc41e2f35defac5e3d7dae40890876.tar.bz2 opensim-SC-95c9a9939efc41e2f35defac5e3d7dae40890876.tar.xz |
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
Diffstat (limited to 'OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs')
-rw-r--r-- | OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs b/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs index d6613e9..b3a0d4f 100644 --- a/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs +++ b/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs | |||
@@ -69,7 +69,9 @@ namespace OpenSim.Region.ExtensionsScriptModule | |||
69 | /// </summary> | 69 | /// </summary> |
70 | public SceneObjectGroup Task | 70 | public SceneObjectGroup Task |
71 | { | 71 | { |
72 | get { return Scene.Objects[ObjectID]; } | 72 | // XXX Casting not ideal, but previous Scene.Objects propery wasn't actually populated, so |
73 | // wouldn't have worked anyway. | ||
74 | get { return (SceneObjectGroup)Scene.Entities[ObjectID]; } | ||
73 | } | 75 | } |
74 | 76 | ||
75 | /// <summary> | 77 | /// <summary> |