Minor cleanup.

0.6.0-stable
Jeff Ames 2008-05-16 13:33:57 +00:00
parent 9040213366
commit 7fefb80abb
9 changed files with 19 additions and 33 deletions

View File

@ -90,7 +90,6 @@ namespace OpenSim.Data.NHibernate
InitDB(); InitDB();
} }
private void InitDB() private void InitDB()
{ {
string regex = @"no such table: Inventory"; string regex = @"no such table: Inventory";
@ -117,7 +116,6 @@ namespace OpenSim.Data.NHibernate
} }
} }
/***************************************************************** /*****************************************************************
* *
* Basic CRUD operations on Data * Basic CRUD operations on Data

View File

@ -58,7 +58,7 @@ namespace OpenSim.Framework
private static string regexInvalidPathChars = "[" + new String(Path.GetInvalidPathChars()) + "]"; private static string regexInvalidPathChars = "[" + new String(Path.GetInvalidPathChars()) + "]";
private static object XferLock = new object(); private static object XferLock = new object();
#region Vector Equasions #region Vector Equations
/// <summary> /// <summary>
/// Get the distance between two 3d vectors /// Get the distance between two 3d vectors
@ -214,8 +214,8 @@ namespace OpenSim.Framework
} }
// Windows 2000 / Pre-SP2 XP // Windows 2000 / Pre-SP2 XP
if (Environment.OSVersion.Version.Major == 5 && ( if (Environment.OSVersion.Version.Major == 5 &&
Environment.OSVersion.Version.Minor == 0)) Environment.OSVersion.Version.Minor == 0)
{ {
reason = "Please update to Windows XP Service Pack 2 or Server2003"; reason = "Please update to Windows XP Service Pack 2 or Server2003";
return false; return false;
@ -544,7 +544,6 @@ namespace OpenSim.Framework
/// <summary> /// <summary>
/// returns the contents of /etc/issue on Unix Systems /// returns the contents of /etc/issue on Unix Systems
/// Use this for where it's absolutely necessary to implement platform specific stuff /// Use this for where it's absolutely necessary to implement platform specific stuff
/// ( like the ODE library :P
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
public static string ReadEtcIssue() public static string ReadEtcIssue()

View File

@ -40,7 +40,7 @@ namespace OpenUser.Config.UserConfigDb4o
public UserConfig GetConfigObject() public UserConfig GetConfigObject()
{ {
m_log.Info("[DBUSERCONFIG]: Loading Db40Config dll"); m_log.Info("[DBUSERCONFIG]: Loading Db40Config dll");
return ( new DbUserConfig()); return new DbUserConfig();
} }
} }

View File

@ -1284,7 +1284,6 @@ namespace OpenSim.Region.Environment.Scenes
byte bypassRaycast, LLVector3 RayStart, LLUUID RayTargetID, byte bypassRaycast, LLVector3 RayStart, LLUUID RayTargetID,
byte RayEndIsIntersection) byte RayEndIsIntersection)
{ {
LLVector3 pos = GetNewRezLocation(RayStart, RayEnd, RayTargetID, rot, bypassRaycast, RayEndIsIntersection, true, new LLVector3(0.5f, 0.5f, 0.5f), false); LLVector3 pos = GetNewRezLocation(RayStart, RayEnd, RayTargetID, rot, bypassRaycast, RayEndIsIntersection, true, new LLVector3(0.5f, 0.5f, 0.5f), false);
if (ExternalChecks.ExternalChecksCanRezObject(1, ownerID, pos)) if (ExternalChecks.ExternalChecksCanRezObject(1, ownerID, pos))
@ -1515,8 +1514,6 @@ namespace OpenSim.Region.Environment.Scenes
} }
} }
} }
} }
} }
return true; return true;
@ -1525,7 +1522,6 @@ namespace OpenSim.Region.Environment.Scenes
{ {
return false; return false;
} }
} }
#endregion #endregion
@ -1658,6 +1654,7 @@ namespace OpenSim.Region.Environment.Scenes
EventManager.TriggerOnNewClient(client); EventManager.TriggerOnNewClient(client);
} }
public virtual void TeleportClientHome(LLUUID AgentId, IClientAPI client) public virtual void TeleportClientHome(LLUUID AgentId, IClientAPI client)
{ {
UserProfileData UserProfile = CommsManager.UserService.GetUserProfile(AgentId); UserProfileData UserProfile = CommsManager.UserService.GetUserProfile(AgentId);
@ -1745,18 +1742,13 @@ namespace OpenSim.Region.Environment.Scenes
m_innerScene.DuplicateObject(localID, pos, target.GetEffectiveObjectFlags(), AgentID, GroupID); m_innerScene.DuplicateObject(localID, pos, target.GetEffectiveObjectFlags(), AgentID, GroupID);
} }
return;
}
return; return;
} }
return;
} }
}
public virtual void SetHomeRezPoint(IClientAPI remoteClient, ulong regionHandle, LLVector3 position, LLVector3 lookAt, uint flags) public virtual void SetHomeRezPoint(IClientAPI remoteClient, ulong regionHandle, LLVector3 position, LLVector3 lookAt, uint flags)
{ {
UserProfileData UserProfile = CommsManager.UserService.GetUserProfile(remoteClient.AgentId); UserProfileData UserProfile = CommsManager.UserService.GetUserProfile(remoteClient.AgentId);
@ -1938,7 +1930,6 @@ namespace OpenSim.Region.Environment.Scenes
} }
} }
} }
} }
public override void CloseAllAgents(uint circuitcode) public override void CloseAllAgents(uint circuitcode)
@ -2014,7 +2005,6 @@ namespace OpenSim.Region.Environment.Scenes
m_sceneGridService.Close(); m_sceneGridService.Close();
} }
/// <summary> /// <summary>
/// Do the work necessary to initiate a new user connection. /// Do the work necessary to initiate a new user connection.
/// At the moment, this consists of setting up the caps infrastructure /// At the moment, this consists of setting up the caps infrastructure
@ -2164,7 +2154,6 @@ namespace OpenSim.Region.Environment.Scenes
childAgentUpdate.ChildAgentDataUpdate(cAgentData, tRegionX, tRegionY, rRegionX, rRegionY); childAgentUpdate.ChildAgentDataUpdate(cAgentData, tRegionX, tRegionY, rRegionX, rRegionY);
// Not Implemented: // Not Implemented:
//TODO: Do we need to pass the message on to one of our neighbors? //TODO: Do we need to pass the message on to one of our neighbors?
} }
return true; return true;
} }