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/DotNetEngine/ScriptManager.cs | |
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/DotNetEngine/ScriptManager.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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 |