aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
authorCharles Krinke2008-08-27 02:40:14 +0000
committerCharles Krinke2008-08-27 02:40:14 +0000
commit84cdebe4708ee8340a93149d6cb4c266e370588d (patch)
tree6fc4ffae1668562f2775f652ee8bcc500a3adaf4 /OpenSim/Region/Environment
parentMantis #1903 (diff)
downloadopensim-SC_OLD-84cdebe4708ee8340a93149d6cb4c266e370588d.zip
opensim-SC_OLD-84cdebe4708ee8340a93149d6cb4c266e370588d.tar.gz
opensim-SC_OLD-84cdebe4708ee8340a93149d6cb4c266e370588d.tar.bz2
opensim-SC_OLD-84cdebe4708ee8340a93149d6cb4c266e370588d.tar.xz
Mantis#2047. Thank you kindly, Simsim for a patch that addresses:
avatar sitting on the object can not telport to other regions.
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs
index 4823aa1..6aa6de8 100644
--- a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs
@@ -615,6 +615,10 @@ namespace OpenSim.Region.Environment.Scenes
615 615
616 if (destRegionUp) 616 if (destRegionUp)
617 { 617 {
618 // Fixing a bug where teleporting while sitting results in the avatar ending up removed from
619 // both regions
620 if (avatar.ParentID != (uint)0)
621 avatar.StandUp();
618 if(!avatar.ValidateAttachments()) 622 if(!avatar.ValidateAttachments())
619 { 623 {
620 avatar.ControllingClient.SendTeleportFailed("Inconsistent attachment state"); 624 avatar.ControllingClient.SendTeleportFailed("Inconsistent attachment state");