mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Formatting cleanup.
This commit is contained in:
@@ -5480,7 +5480,7 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
World.SimChatBroadcast(Helpers.StringToField(msg),
|
||||
ChatTypeEnum.Owner, 0, m_host.AbsolutePosition,
|
||||
ChatTypeEnum.Owner, 0, m_host.AbsolutePosition,
|
||||
m_host.Name, m_host.UUID, false);
|
||||
|
||||
IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface<IWorldComm>();
|
||||
|
||||
@@ -304,7 +304,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
|
||||
{
|
||||
int colon=t.IndexOf(":");
|
||||
|
||||
if(-1 != colon)
|
||||
if (-1 != colon)
|
||||
{
|
||||
line = " at line " + Convert.ToInt32(t.Substring(colon + 1)).ToString();
|
||||
break;
|
||||
|
||||
@@ -78,7 +78,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
||||
// Xantor 20080525: I need assetID here to see if we already compiled this one previously
|
||||
LLUUID assetID = LLUUID.Zero;
|
||||
TaskInventoryItem taskInventoryItem = new TaskInventoryItem();
|
||||
if(m_host.TaskInventory.TryGetValue(itemID,out taskInventoryItem))
|
||||
if (m_host.TaskInventory.TryGetValue(itemID,out taskInventoryItem))
|
||||
assetID = taskInventoryItem.AssetID;
|
||||
|
||||
|
||||
@@ -140,7 +140,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
||||
string text = "Error compiling script:\r\n" + e.Message.ToString();
|
||||
if (text.Length > 1500)
|
||||
text = text.Substring(0, 1500);
|
||||
World.SimChat(Helpers.StringToField(text), ChatTypeEnum.DebugChannel, 2147483647,
|
||||
World.SimChat(Helpers.StringToField(text), ChatTypeEnum.DebugChannel, 2147483647,
|
||||
m_host.AbsolutePosition, m_host.Name, m_host.UUID, false);
|
||||
}
|
||||
catch (Exception e2) // LEGIT: User Scripting
|
||||
|
||||
Reference in New Issue
Block a user