Formatting cleanup.

arthursv
Jeff Ames 2009-08-09 00:43:13 +09:00
parent e88903f481
commit bc6ec3b564
10 changed files with 20 additions and 20 deletions

View File

@ -1443,7 +1443,7 @@ namespace OpenSim.Data.SQLite
// row["RegionUUID"] = regionUUID;
// row["Revision"] = rev;
// MemoryStream str = new MemoryStream(((int)Constants.RegionSize * (int)Constants.RegionSize )*sizeof (double));
// MemoryStream str = new MemoryStream(((int)Constants.RegionSize * (int)Constants.RegionSize)*sizeof (double));
// BinaryWriter bw = new BinaryWriter(str);
// // TODO: COMPATIBILITY - Add byte-order conversions

View File

@ -927,7 +927,7 @@ namespace OpenSim.Region.Framework.Scenes
{
foreach (IScriptModule e in engines)
{
if(!e.CanBeDeleted(item.ItemID))
if (!e.CanBeDeleted(item.ItemID))
return false;
}
}

View File

@ -53,8 +53,8 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
string requestcontext = (string) request["Hunt-Context"];
response["content_type"] = "text/xml";
response["keepalive"] = false;
response["int_response_code"] = 200;
if ( Context != String.Empty && Context != requestcontext)
response["int_response_code"] = 200;
if (Context != String.Empty && Context != requestcontext)
{
m_log.Debug("[FreeSwitchDirectory] returning empty as it's for another context");
response["str_response_string"] = "";

View File

@ -42,7 +42,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
{
Hashtable response = new Hashtable();
string domain = (string) request["domain"];
if ( domain != Realm) {
if (domain != Realm) {
response["content_type"] = "text/xml";
response["keepalive"] = false;
response["int_response_code"] = 200;

View File

@ -95,8 +95,8 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
{
// if groups aren't enabled, we're not needed.
// if we're not specified as the connector to use, then we're not wanted
if ( (groupsConfig.GetBoolean("Enabled", false) == false)
|| (groupsConfig.GetString("ServicesConnectorModule", "Default") != Name))
if ((groupsConfig.GetBoolean("Enabled", false) == false)
|| (groupsConfig.GetString("ServicesConnectorModule", "Default") != Name))
{
m_connectorEnabled = false;
return;

View File

@ -93,7 +93,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
void EventManager_OnStopScript(uint localID, UUID itemID)
{
if(m_scripts.ContainsKey(itemID))
if (m_scripts.ContainsKey(itemID))
{
m_scripts[itemID].Stop();
}

View File

@ -7246,10 +7246,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public LSL_List llGetPrimitiveParams(LSL_List rules)
{
m_host.AddScriptLPS(1);
return GetLinkPrimitiveParams( m_host, rules );
return GetLinkPrimitiveParams(m_host, rules);
}
public LSL_List GetLinkPrimitiveParams( SceneObjectPart part, LSL_List rules )
public LSL_List GetLinkPrimitiveParams(SceneObjectPart part, LSL_List rules)
{
LSL_List res = new LSL_List();

View File

@ -1748,16 +1748,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
// to an unscrupulous third party, thus permitting unauthorized duplication of
// the object's form.
//
public LSL_List osGetLinkPrimitiveParams( int linknumber, LSL_List rules )
public LSL_List osGetLinkPrimitiveParams(int linknumber, LSL_List rules)
{
CheckThreatLevel( ThreatLevel.High, "osGetLinkPrimitiveParams" );
m_host.AddScriptLPS( 1 );
CheckThreatLevel(ThreatLevel.High, "osGetLinkPrimitiveParams");
m_host.AddScriptLPS(1);
InitLSL();
LSL_List retVal = new LSL_List();
List<SceneObjectPart> parts = ((LSL_Api)m_LSL_Api).GetLinkParts( linknumber );
List<SceneObjectPart> parts = ((LSL_Api)m_LSL_Api).GetLinkParts(linknumber);
foreach (SceneObjectPart part in parts)
{
retVal += ((LSL_Api)m_LSL_Api).GetLinkPrimitiveParams( part, rules );
retVal += ((LSL_Api)m_LSL_Api).GetLinkPrimitiveParams(part, rules);
}
return retVal;
}

View File

@ -146,8 +146,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
string osLoadedCreationDate();
string osLoadedCreationTime();
string osLoadedCreationID();
LSL_List osGetLinkPrimitiveParams( int linknumber, LSL_List rules );
LSL_List osGetLinkPrimitiveParams(int linknumber, LSL_List rules);
}
}

View File

@ -387,10 +387,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
{
return m_OSSL_Functions.osLoadedCreationID();
}
public LSL_List osGetLinkPrimitiveParams( int linknumber, LSL_List rules )
public LSL_List osGetLinkPrimitiveParams(int linknumber, LSL_List rules)
{
return m_OSSL_Functions.osGetLinkPrimitiveParams( linknumber, rules );
return m_OSSL_Functions.osGetLinkPrimitiveParams(linknumber, rules);
}