diff options
author | Melanie | 2010-06-19 20:32:01 +0100 |
---|---|---|
committer | Melanie | 2010-06-19 20:32:01 +0100 |
commit | 04b60aa49067060779cd541e9a06ad947bfecd08 (patch) | |
tree | d0da6005a2457640f433fe1b313e36cb71cc3976 /OpenSim/Region | |
parent | Allow moving an avatar as part of a linkset using llSetLinkPrimitiveParams. T... (diff) | |
parent | Bug fix: wrong name of requester in local friendship offer. (diff) | |
download | opensim-SC-04b60aa49067060779cd541e9a06ad947bfecd08.zip opensim-SC-04b60aa49067060779cd541e9a06ad947bfecd08.tar.gz opensim-SC-04b60aa49067060779cd541e9a06ad947bfecd08.tar.bz2 opensim-SC-04b60aa49067060779cd541e9a06ad947bfecd08.tar.xz |
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | 5 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 1 |
3 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs index 4c01985..c6f8b88 100644 --- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | |||
@@ -504,7 +504,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends | |||
504 | UUID principalID = new UUID(im.fromAgentID); | 504 | UUID principalID = new UUID(im.fromAgentID); |
505 | UUID friendID = new UUID(im.toAgentID); | 505 | UUID friendID = new UUID(im.toAgentID); |
506 | 506 | ||
507 | m_log.DebugFormat("[FRIENDS]: {0} offered friendship to {1}", principalID, friendID); | 507 | m_log.DebugFormat("[FRIENDS]: {0} ({1}) offered friendship to {2}", principalID, im.fromAgentName, friendID); |
508 | 508 | ||
509 | // This user wants to be friends with the other user. | 509 | // This user wants to be friends with the other user. |
510 | // Let's add the relation backwards, in case the other is not online | 510 | // Let's add the relation backwards, in case the other is not online |
@@ -522,6 +522,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends | |||
522 | im.imSessionID = im.fromAgentID; | 522 | im.imSessionID = im.fromAgentID; |
523 | 523 | ||
524 | // Try the local sim | 524 | // Try the local sim |
525 | UserAccount account = UserAccountService.GetUserAccount(Scene.RegionInfo.ScopeID, agentID); | ||
526 | im.fromAgentName = (account == null) ? "Unknown" : account.FirstName + " " + account.LastName; | ||
527 | |||
525 | if (LocalFriendshipOffered(friendID, im)) | 528 | if (LocalFriendshipOffered(friendID, im)) |
526 | return; | 529 | return; |
527 | 530 | ||
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index b80a557..7403fed 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -1498,6 +1498,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1498 | DoPhysicsPropertyUpdate(RigidBody, true); | 1498 | DoPhysicsPropertyUpdate(RigidBody, true); |
1499 | PhysActor.SetVolumeDetect(VolumeDetectActive ? 1 : 0); | 1499 | PhysActor.SetVolumeDetect(VolumeDetectActive ? 1 : 0); |
1500 | } | 1500 | } |
1501 | else | ||
1502 | { | ||
1503 | m_log.DebugFormat("[SPEW]: physics actor is null for {0} with parent {1}", UUID, this.ParentGroup.UUID); | ||
1504 | } | ||
1501 | } | 1505 | } |
1502 | } | 1506 | } |
1503 | } | 1507 | } |
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index 100f98d..7fd59a0 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | |||
@@ -1781,6 +1781,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1781 | m_log.ErrorFormat("[PHYSICS]: Exception while meshing prim {0}.", primName); | 1781 | m_log.ErrorFormat("[PHYSICS]: Exception while meshing prim {0}.", primName); |
1782 | m_log.Debug(e.ToString()); | 1782 | m_log.Debug(e.ToString()); |
1783 | mesh = null; | 1783 | mesh = null; |
1784 | return null; | ||
1784 | } | 1785 | } |
1785 | } | 1786 | } |
1786 | 1787 | ||