diff options
author | Melanie Thielker | 2010-05-31 01:02:04 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-05-31 01:02:04 +0200 |
commit | bbb4d6e4c934cd25615c98f2ee4500a5d28fa701 (patch) | |
tree | 39a72a57eec6f38a649694941565ec0162a0f34e /OpenSim/Region/OptionalModules/Scripting | |
parent | Changes osFunction permissions again. Allow_ with a list of UUIDs now again (diff) | |
download | opensim-SC_OLD-bbb4d6e4c934cd25615c98f2ee4500a5d28fa701.zip opensim-SC_OLD-bbb4d6e4c934cd25615c98f2ee4500a5d28fa701.tar.gz opensim-SC_OLD-bbb4d6e4c934cd25615c98f2ee4500a5d28fa701.tar.bz2 opensim-SC_OLD-bbb4d6e4c934cd25615c98f2ee4500a5d28fa701.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); |