diff options
author | Melanie | 2012-10-07 02:48:28 +0100 |
---|---|---|
committer | Melanie | 2012-10-07 02:48:28 +0100 |
commit | f7df68d922758c0a78664abe82d631579f6aa63f (patch) | |
tree | 85daa41ff4b35653b4fbb987cbc852ad853decef /OpenSim/Region/ScriptEngine/Shared/Api | |
parent | Merge branch 'master' into careminster (diff) | |
parent | refactor: Rename UserSessioNID -> UserSession in WebStatsModule since this is... (diff) | |
download | opensim-SC-f7df68d922758c0a78664abe82d631579f6aa63f.zip opensim-SC-f7df68d922758c0a78664abe82d631579f6aa63f.tar.gz opensim-SC-f7df68d922758c0a78664abe82d631579f6aa63f.tar.bz2 opensim-SC-f7df68d922758c0a78664abe82d631579f6aa63f.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/CoreModules/Avatar/Lure/LureModule.cs
OpenSim/Region/Framework/Scenes/Scene.cs
OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index d8da173..49f0ef7 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -4326,7 +4326,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
4326 | World.RegionInfo.RegionName+" "+ | 4326 | World.RegionInfo.RegionName+" "+ |
4327 | m_host.AbsolutePosition.ToString(), | 4327 | m_host.AbsolutePosition.ToString(), |
4328 | agentItem.ID, true, m_host.AbsolutePosition, | 4328 | agentItem.ID, true, m_host.AbsolutePosition, |
4329 | bucket); | 4329 | bucket, true); |
4330 | 4330 | ||
4331 | ScenePresence sp; | 4331 | ScenePresence sp; |
4332 | 4332 | ||
@@ -6912,16 +6912,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
6912 | if (m_TransferModule != null) | 6912 | if (m_TransferModule != null) |
6913 | { | 6913 | { |
6914 | byte[] bucket = new byte[] { (byte)AssetType.Folder }; | 6914 | byte[] bucket = new byte[] { (byte)AssetType.Folder }; |
6915 | 6915 | ||
6916 | Vector3 pos = m_host.AbsolutePosition; | ||
6917 | |||
6916 | GridInstantMessage msg = new GridInstantMessage(World, | 6918 | GridInstantMessage msg = new GridInstantMessage(World, |
6917 | m_host.UUID, m_host.Name + ", an object owned by " + | 6919 | m_host.OwnerID, m_host.Name, destID, |
6918 | resolveName(m_host.OwnerID) + ",", destID, | ||
6919 | (byte)InstantMessageDialog.TaskInventoryOffered, | 6920 | (byte)InstantMessageDialog.TaskInventoryOffered, |
6920 | false, category + "\n" + m_host.Name + " is located at " + | 6921 | false, string.Format("'{0}'"), |
6921 | World.RegionInfo.RegionName + " " + | 6922 | // We won't go so far as to add a SLURL, but this is the format used by LL as of 2012-10-06 |
6922 | m_host.AbsolutePosition.ToString(), | 6923 | // false, string.Format("'{0}' ( http://slurl.com/secondlife/{1}/{2}/{3}/{4} )", category, World.Name, (int)pos.X, (int)pos.Y, (int)pos.Z), |
6923 | folderID, true, m_host.AbsolutePosition, | 6924 | folderID, false, pos, |
6924 | bucket); | 6925 | bucket, false); |
6925 | 6926 | ||
6926 | m_TransferModule.SendInstantMessage(msg, delegate(bool success) {}); | 6927 | m_TransferModule.SendInstantMessage(msg, delegate(bool success) {}); |
6927 | } | 6928 | } |