diff options
author | Jeff Ames | 2008-05-28 03:44:49 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-28 03:44:49 +0000 |
commit | 5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4 (patch) | |
tree | ea980f49f1a6bb40ba037a87581a3d741c3d3c56 /OpenSim/Region/ScriptEngine | |
parent | Thank you kindly, Melanie for a patch that: (diff) | |
download | opensim-SC_OLD-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.zip opensim-SC_OLD-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.tar.gz opensim-SC_OLD-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.tar.bz2 opensim-SC_OLD-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.tar.xz |
Formatting cleanup.
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
3 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 6bdfe9a..61f92ef 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -5480,7 +5480,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
5480 | { | 5480 | { |
5481 | m_host.AddScriptLPS(1); | 5481 | m_host.AddScriptLPS(1); |
5482 | World.SimChatBroadcast(Helpers.StringToField(msg), | 5482 | World.SimChatBroadcast(Helpers.StringToField(msg), |
5483 | ChatTypeEnum.Owner, 0, m_host.AbsolutePosition, | 5483 | ChatTypeEnum.Owner, 0, m_host.AbsolutePosition, |
5484 | m_host.Name, m_host.UUID, false); | 5484 | m_host.Name, m_host.UUID, false); |
5485 | 5485 | ||
5486 | IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface<IWorldComm>(); | 5486 | IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface<IWorldComm>(); |
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs index 64d6a75..7bb7136 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs | |||
@@ -304,7 +304,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
304 | { | 304 | { |
305 | int colon=t.IndexOf(":"); | 305 | int colon=t.IndexOf(":"); |
306 | 306 | ||
307 | if(-1 != colon) | 307 | if (-1 != colon) |
308 | { | 308 | { |
309 | line = " at line " + Convert.ToInt32(t.Substring(colon + 1)).ToString(); | 309 | line = " at line " + Convert.ToInt32(t.Substring(colon + 1)).ToString(); |
310 | break; | 310 | break; |
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs index 087f688..008abd0 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | |||
@@ -78,7 +78,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
78 | // Xantor 20080525: I need assetID here to see if we already compiled this one previously | 78 | // Xantor 20080525: I need assetID here to see if we already compiled this one previously |
79 | LLUUID assetID = LLUUID.Zero; | 79 | LLUUID assetID = LLUUID.Zero; |
80 | TaskInventoryItem taskInventoryItem = new TaskInventoryItem(); | 80 | TaskInventoryItem taskInventoryItem = new TaskInventoryItem(); |
81 | if(m_host.TaskInventory.TryGetValue(itemID,out taskInventoryItem)) | 81 | if (m_host.TaskInventory.TryGetValue(itemID,out taskInventoryItem)) |
82 | assetID = taskInventoryItem.AssetID; | 82 | assetID = taskInventoryItem.AssetID; |
83 | 83 | ||
84 | 84 | ||
@@ -140,7 +140,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
140 | string text = "Error compiling script:\r\n" + e.Message.ToString(); | 140 | string text = "Error compiling script:\r\n" + e.Message.ToString(); |
141 | if (text.Length > 1500) | 141 | if (text.Length > 1500) |
142 | text = text.Substring(0, 1500); | 142 | text = text.Substring(0, 1500); |
143 | World.SimChat(Helpers.StringToField(text), ChatTypeEnum.DebugChannel, 2147483647, | 143 | World.SimChat(Helpers.StringToField(text), ChatTypeEnum.DebugChannel, 2147483647, |
144 | m_host.AbsolutePosition, m_host.Name, m_host.UUID, false); | 144 | m_host.AbsolutePosition, m_host.Name, m_host.UUID, false); |
145 | } | 145 | } |
146 | catch (Exception e2) // LEGIT: User Scripting | 146 | catch (Exception e2) // LEGIT: User Scripting |