mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Formatting cleanup.
This commit is contained in:
@@ -2856,7 +2856,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
|
||||
if (m_TransferModule != null)
|
||||
{
|
||||
m_TransferModule.SendInstantMessage(msg, delegate(bool success) {} );
|
||||
m_TransferModule.SendInstantMessage(msg, delegate(bool success) {});
|
||||
}
|
||||
ScriptSleep(2000);
|
||||
}
|
||||
@@ -3668,7 +3668,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
bucket);
|
||||
|
||||
if (m_TransferModule != null)
|
||||
m_TransferModule.SendInstantMessage(msg, delegate(bool success) {} );
|
||||
m_TransferModule.SendInstantMessage(msg, delegate(bool success) {});
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -5968,7 +5968,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
bucket);
|
||||
|
||||
if (m_TransferModule != null)
|
||||
m_TransferModule.SendInstantMessage(msg, delegate(bool success) {} );
|
||||
m_TransferModule.SendInstantMessage(msg, delegate(bool success) {});
|
||||
}
|
||||
|
||||
public void llSetVehicleType(int type)
|
||||
@@ -6008,7 +6008,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
if (!m_host.ParentGroup.IsDeleted)
|
||||
{
|
||||
m_host.ParentGroup.RootPart.SetVehicleVectorParam(param,
|
||||
new PhysicsVector((float)vec.x, (float)vec.y, (float)vec.z) );
|
||||
new PhysicsVector((float)vec.x, (float)vec.y, (float)vec.z));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7039,7 +7039,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
return (double)Math.Log(val);
|
||||
}
|
||||
|
||||
public LSL_List llGetAnimationList( string id )
|
||||
public LSL_List llGetAnimationList(string id)
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
|
||||
|
||||
@@ -586,7 +586,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
|
||||
// Check for hostname , attempt to make a hglink
|
||||
// and convert the regionName to the target region
|
||||
if ( regionName.Contains(".") && regionName.Contains(":"))
|
||||
if (regionName.Contains(".") && regionName.Contains(":"))
|
||||
{
|
||||
// Try to link the region
|
||||
RegionInfo regInfo = HGHyperlink.TryLinkRegion(World,
|
||||
|
||||
@@ -206,7 +206,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
// DO NOT THROW JUST THE INNER EXCEPTION!
|
||||
// FriendlyErrors depends on getting the whole exception!
|
||||
//
|
||||
if ( !(tie.InnerException is EventAbortException) )
|
||||
if (!(tie.InnerException is EventAbortException))
|
||||
{
|
||||
throw;
|
||||
}
|
||||
|
||||
@@ -1407,7 +1407,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.YieldProlog
|
||||
throw new PrologException(Atom.a("instantiation_error"),
|
||||
"Arg 1 Char and arg 2 Code are both unbound variables");
|
||||
|
||||
return YP.unify(Char, Atom.a(new String(new char[] {(char)codeInt} )));
|
||||
return YP.unify(Char, Atom.a(new String(new char[] {(char)codeInt})));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -2343,7 +2343,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.YieldProlog
|
||||
string results = "";
|
||||
for (Match m = Regex.Match(inData,inPattern); m.Success; m=m.NextMatch())
|
||||
{
|
||||
//m_log.Debug( m );
|
||||
//m_log.Debug(m);
|
||||
results += presep+ m + postsep;
|
||||
}
|
||||
return results;
|
||||
|
||||
Reference in New Issue
Block a user