Update svn properties, minor formatting cleanup.

0.6.1-post-fixes
Jeff Ames 2008-11-21 18:44:48 +00:00
parent 7dce464113
commit ecac5c9c5a
11 changed files with 43 additions and 44 deletions

View File

@ -590,7 +590,7 @@ namespace OpenSim.Grid.MessagingServer
// Process Response // Process Response
Hashtable UserRespData = (Hashtable)UserResp.Value; Hashtable UserRespData = (Hashtable)UserResp.Value;
// if we got a response, we were successful // if we got a response, we were successful
if(!UserRespData.ContainsKey("responsestring")) if (!UserRespData.ContainsKey("responsestring"))
success = false; success = false;
} }
catch catch

View File

@ -5715,7 +5715,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
List<UUID> returnIDs = new List<UUID>(); List<UUID> returnIDs = new List<UUID>();
foreach(ParcelSelectObjectsPacket.ReturnIDsBlock rb in foreach (ParcelSelectObjectsPacket.ReturnIDsBlock rb in
selectPacket.ReturnIDs) selectPacket.ReturnIDs)
{ {
returnIDs.Add(rb.ReturnID); returnIDs.Add(rb.ReturnID);

View File

@ -516,7 +516,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Friends
// if it's a local friend, we don't have to do the lookup // if it's a local friend, we don't have to do the lookup
ScenePresence friendPresence = GetAnyPresenceFromAgentID(friendID); ScenePresence friendPresence = GetAnyPresenceFromAgentID(friendID);
if(friendPresence != null) if (friendPresence != null)
{ {
m_log.Debug("[FRIEND]: Local agent detected."); m_log.Debug("[FRIEND]: Local agent detected.");

View File

@ -966,7 +966,7 @@ namespace OpenSim.Region.Environment.Scenes
/// <returns></returns> /// <returns></returns>
public void Backup() public void Backup()
{ {
lock(m_returns) lock (m_returns)
{ {
EventManager.TriggerOnBackup(m_storageManager.DataStore); EventManager.TriggerOnBackup(m_storageManager.DataStore);
m_backingup = false; m_backingup = false;
@ -1003,7 +1003,7 @@ namespace OpenSim.Region.Environment.Scenes
public void AddReturn(UUID agentID, string objectName, Vector3 location, string reason) public void AddReturn(UUID agentID, string objectName, Vector3 location, string reason)
{ {
lock(m_returns) lock (m_returns)
{ {
if (m_returns.ContainsKey(agentID)) if (m_returns.ContainsKey(agentID))
{ {
@ -2428,7 +2428,7 @@ namespace OpenSim.Region.Environment.Scenes
if (regionInfo == null) if (regionInfo == null)
{ {
regionInfo = CommsManager.GridService.RequestNeighbourInfo(UserProfile.HomeRegion); regionInfo = CommsManager.GridService.RequestNeighbourInfo(UserProfile.HomeRegion);
if(regionInfo != null) // home region can be away temporarily, too if (regionInfo != null) // home region can be away temporarily, too
{ {
UserProfile.HomeRegionID = regionInfo.RegionID; UserProfile.HomeRegionID = regionInfo.RegionID;
CommsManager.UserService.UpdateUserProfile(UserProfile); CommsManager.UserService.UpdateUserProfile(UserProfile);

View File

@ -596,7 +596,6 @@ namespace OpenSim.Region.Environment.Scenes
if (m_rootPart.LocalId==0) if (m_rootPart.LocalId==0)
m_rootPart.LocalId = m_scene.AllocateLocalId(); m_rootPart.LocalId = m_scene.AllocateLocalId();
// No need to lock here since the object isn't yet in a scene // No need to lock here since the object isn't yet in a scene
foreach (SceneObjectPart part in m_parts.Values) foreach (SceneObjectPart part in m_parts.Values)
{ {