diff options
author | Melanie Thielker | 2008-11-16 00:47:21 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-11-16 00:47:21 +0000 |
commit | 27e557eb9857ccc34ae3588c4e0ff43bd5e6644a (patch) | |
tree | 742ab8738481d93ebc03fe94c80b6333c65631b0 /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | Changed sculpted prim texture scaling method to bilinear to reduce scaling ar... (diff) | |
download | opensim-SC_OLD-27e557eb9857ccc34ae3588c4e0ff43bd5e6644a.zip opensim-SC_OLD-27e557eb9857ccc34ae3588c4e0ff43bd5e6644a.tar.gz opensim-SC_OLD-27e557eb9857ccc34ae3588c4e0ff43bd5e6644a.tar.bz2 opensim-SC_OLD-27e557eb9857ccc34ae3588c4e0ff43bd5e6644a.tar.xz |
Introduces the message transfer module. It splits the transfer mechanics off
the IM module and makes it into a module of it's own, which can be used by
all other modules. Removes some ugly hacks. Refer to the IM module to see
how it's used. Also fixes the persistence issue (Mantis #2598)
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 08b7bdb..7485134 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -993,7 +993,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
993 | else | 993 | else |
994 | msg.message = string.Format("Your object {0} was returned from {1} in region {2} due to parcel auto return", ret.Value.objectName, ret.Value.location.ToString(), RegionInfo.RegionName); | 994 | msg.message = string.Format("Your object {0} was returned from {1} in region {2} due to parcel auto return", ret.Value.objectName, ret.Value.location.ToString(), RegionInfo.RegionName); |
995 | 995 | ||
996 | TriggerGridInstantMessage(msg, InstantMessageReceiver.IMModule); | 996 | // TODO: Send IM |
997 | // TriggerGridInstantMessage(msg); | ||
997 | } | 998 | } |
998 | } | 999 | } |
999 | 1000 | ||
@@ -3304,21 +3305,6 @@ namespace OpenSim.Region.Environment.Scenes | |||
3304 | return UUID.Zero; | 3305 | return UUID.Zero; |
3305 | } | 3306 | } |
3306 | 3307 | ||
3307 | /// <summary> | ||
3308 | /// This method is a way for the Friends Module to create an instant | ||
3309 | /// message to the avatar and for Instant Messages that travel across | ||
3310 | /// gridcomms to make it to the Instant Message Module. | ||
3311 | /// | ||
3312 | /// Friendship establishment and groups are unfortunately tied with instant messaging and | ||
3313 | /// there's no way to separate them completely. | ||
3314 | /// </summary> | ||
3315 | /// <param name="message">object containing the instant message data</param> | ||
3316 | /// <returns>void</returns> | ||
3317 | public void TriggerGridInstantMessage(GridInstantMessage message, InstantMessageReceiver options) | ||
3318 | { | ||
3319 | m_eventManager.TriggerGridInstantMessage(message, options); | ||
3320 | } | ||
3321 | |||
3322 | public virtual void StoreAddFriendship(UUID ownerID, UUID friendID, uint perms) | 3308 | public virtual void StoreAddFriendship(UUID ownerID, UUID friendID, uint perms) |
3323 | { | 3309 | { |
3324 | // TODO: m_sceneGridService.DoStuff; | 3310 | // TODO: m_sceneGridService.DoStuff; |