diff options
author | Melanie Thielker | 2010-05-31 01:02:04 +0200 |
---|---|---|
committer | Melanie | 2010-05-30 23:57:33 +0100 |
commit | 992efdc28325fb87776c9bac777342a0379ebe8d (patch) | |
tree | dfe8879f117211dbe533ab2bc3a43d4caeb59e1c /OpenSim/Region/OptionalModules/Scripting | |
parent | Adjust Scene.DeleteAllSceneObjects() to not delete objects attached to avatars. (diff) | |
download | opensim-SC-992efdc28325fb87776c9bac777342a0379ebe8d.zip opensim-SC-992efdc28325fb87776c9bac777342a0379ebe8d.tar.gz opensim-SC-992efdc28325fb87776c9bac777342a0379ebe8d.tar.bz2 opensim-SC-992efdc28325fb87776c9bac777342a0379ebe8d.tar.xz |
Fix a nullref in EventManager caused by RegionReady not setting the scene
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs b/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs index c653e98..672109b 100644 --- a/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs +++ b/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs | |||
@@ -146,6 +146,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.RegionReady | |||
146 | c.Position = new Vector3(((int)Constants.RegionSize * 0.5f), ((int)Constants.RegionSize * 0.5f), 30); | 146 | c.Position = new Vector3(((int)Constants.RegionSize * 0.5f), ((int)Constants.RegionSize * 0.5f), 30); |
147 | c.Sender = null; | 147 | c.Sender = null; |
148 | c.SenderUUID = UUID.Zero; | 148 | c.SenderUUID = UUID.Zero; |
149 | c.Scene = m_scene; | ||
149 | 150 | ||
150 | m_log.InfoFormat("[RegionReady]: Region \"{0}\" is ready: \"{1}\" on channel {2}", | 151 | m_log.InfoFormat("[RegionReady]: Region \"{0}\" is ready: \"{1}\" on channel {2}", |
151 | m_scene.RegionInfo.RegionName, c.Message, m_channelNotify); | 152 | m_scene.RegionInfo.RegionName, c.Message, m_channelNotify); |