From 15dd750b32cb7ae50d3f5dd58e2fc1f9542a4d2f Mon Sep 17 00:00:00 2001
From: David Walter Seikel
Date: Mon, 7 Nov 2016 12:44:56 +1000
Subject: Excess white space removal.
---
.../ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 18 +++++++++---------
OpenSim/Services/GridService/HypergridLinker.cs | 6 +++---
2 files changed, 12 insertions(+), 12 deletions(-)
(limited to 'OpenSim')
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index 2588d51..846c8db 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -1676,7 +1676,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
}
return result;
}
-
+
private ArrayList osdToArray(OSDArray list)
{
ArrayList result = new ArrayList();
@@ -1730,7 +1730,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
m_host.AddScriptLPS(1);
Object decoded = osParseJSONNew(JSON);
-
+
if ( decoded is Hashtable ) {
return (Hashtable) decoded;
} else if ( decoded is ArrayList ) {
@@ -3084,7 +3084,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
bool isMale = vpShapeMale > 0.5f;
return new LSL_String(isMale ? "male" : "female");
}
-
+
///
/// Get current region's map texture UUID
///
@@ -3123,7 +3123,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
return key.ToString();
}
-
+
///
/// Return information regarding various simulator statistics (sim fps, physics fps, time
/// dilation, total number of prims, total number of active scripts, script lps, various
@@ -3137,7 +3137,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
m_host.AddScriptLPS(1);
LSL_List ret = new LSL_List();
float[] stats = World.StatsReporter.LastReportedSimStats;
-
+
for (int i = 0; i < 21; i++)
{
ret.Add(new LSL_Float(stats[i]));
@@ -3183,7 +3183,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
return (int)pws;
}
-
+
public void osSetSpeed(string UUID, LSL_Float SpeedModifier)
{
CheckThreatLevel(ThreatLevel.Moderate, "osSetSpeed");
@@ -3193,7 +3193,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
if (avatar != null)
avatar.SpeedModifier = (float)SpeedModifier;
}
-
+
public void osKickAvatar(string FirstName, string SurName, string alert)
{
CheckThreatLevel(ThreatLevel.Severe, "osKickAvatar");
@@ -3223,7 +3223,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
if (presence != null) health = presence.Health;
return health;
}
-
+
public void osCauseDamage(string avatar, double damage)
{
CheckThreatLevel(ThreatLevel.High, "osCauseDamage");
@@ -3251,7 +3251,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
}
}
}
-
+
public void osCauseHealing(string avatar, double healing)
{
CheckThreatLevel(ThreatLevel.High, "osCauseHealing");
diff --git a/OpenSim/Services/GridService/HypergridLinker.cs b/OpenSim/Services/GridService/HypergridLinker.cs
index d1ff4f2..4df41cf 100644
--- a/OpenSim/Services/GridService/HypergridLinker.cs
+++ b/OpenSim/Services/GridService/HypergridLinker.cs
@@ -314,7 +314,7 @@ namespace OpenSim.Services.GridService
if (remoteRegionName != string.Empty)
regInfo.RegionName = remoteRegionName;
-
+
regInfo.RegionLocX = xloc;
regInfo.RegionLocY = yloc;
regInfo.ScopeID = scopeID;
@@ -387,7 +387,7 @@ namespace OpenSim.Services.GridService
regInfo.RegionName = externalName;
m_log.DebugFormat("[HYPERGRID LINKER]: naming linked region {0}, handle {1}", regInfo.RegionName, handle.ToString());
-
+
// Get the map image
regInfo.TerrainImage = GetMapImage(regionID, imageURL);
@@ -497,7 +497,7 @@ namespace OpenSim.Services.GridService
RunHGCommand(command, cmdparams);
}
-
+
private void RunLinkRegionCommand(string[] cmdparams)
{
int xloc, yloc;
--
cgit v1.1