Merge branch 'master' into 0.7-post-fixes
commit
77d892690a
|
@ -44,6 +44,7 @@ namespace OpenSim.Framework.Console
|
||||||
{
|
{
|
||||||
public int last;
|
public int last;
|
||||||
public long lastLineSeen;
|
public long lastLineSeen;
|
||||||
|
public bool newConnection = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// A console that uses REST interfaces
|
// A console that uses REST interfaces
|
||||||
|
@ -424,6 +425,12 @@ namespace OpenSim.Framework.Console
|
||||||
XmlElement rootElement = xmldoc.CreateElement("", "ConsoleSession",
|
XmlElement rootElement = xmldoc.CreateElement("", "ConsoleSession",
|
||||||
"");
|
"");
|
||||||
|
|
||||||
|
if (c.newConnection)
|
||||||
|
{
|
||||||
|
c.newConnection = false;
|
||||||
|
Output("+++" + DefaultPrompt);
|
||||||
|
}
|
||||||
|
|
||||||
lock (m_Scrollback)
|
lock (m_Scrollback)
|
||||||
{
|
{
|
||||||
long startLine = m_LineNumber - m_Scrollback.Count;
|
long startLine = m_LineNumber - m_Scrollback.Count;
|
||||||
|
|
|
@ -503,7 +503,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||||
UUID principalID = new UUID(im.fromAgentID);
|
UUID principalID = new UUID(im.fromAgentID);
|
||||||
UUID friendID = new UUID(im.toAgentID);
|
UUID friendID = new UUID(im.toAgentID);
|
||||||
|
|
||||||
m_log.DebugFormat("[FRIENDS]: {0} offered friendship to {1}", principalID, friendID);
|
m_log.DebugFormat("[FRIENDS]: {0} ({1}) offered friendship to {2}", principalID, im.fromAgentName, friendID);
|
||||||
|
|
||||||
// This user wants to be friends with the other user.
|
// This user wants to be friends with the other user.
|
||||||
// Let's add the relation backwards, in case the other is not online
|
// Let's add the relation backwards, in case the other is not online
|
||||||
|
@ -521,6 +521,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||||
im.imSessionID = im.fromAgentID;
|
im.imSessionID = im.fromAgentID;
|
||||||
|
|
||||||
// Try the local sim
|
// Try the local sim
|
||||||
|
UserAccount account = UserAccountService.GetUserAccount(Scene.RegionInfo.ScopeID, agentID);
|
||||||
|
im.fromAgentName = (account == null) ? "Unknown" : account.FirstName + " " + account.LastName;
|
||||||
|
|
||||||
if (LocalFriendshipOffered(friendID, im))
|
if (LocalFriendshipOffered(friendID, im))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
@ -1487,6 +1487,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
DoPhysicsPropertyUpdate(RigidBody, true);
|
DoPhysicsPropertyUpdate(RigidBody, true);
|
||||||
PhysActor.SetVolumeDetect(VolumeDetectActive ? 1 : 0);
|
PhysActor.SetVolumeDetect(VolumeDetectActive ? 1 : 0);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
m_log.DebugFormat("[SPEW]: physics actor is null for {0} with parent {1}", UUID, this.ParentGroup.UUID);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1781,6 +1781,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||||
m_log.ErrorFormat("[PHYSICS]: Exception while meshing prim {0}.", primName);
|
m_log.ErrorFormat("[PHYSICS]: Exception while meshing prim {0}.", primName);
|
||||||
m_log.Debug(e.ToString());
|
m_log.Debug(e.ToString());
|
||||||
mesh = null;
|
mesh = null;
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue