Mantis#2047. Thank you kindly, Simsim for a patch that addresses:

avatar sitting on the object can not telport to other regions.
0.6.0-stable
Charles Krinke 2008-08-27 02:40:14 +00:00
parent 670719cb76
commit 84cdebe470
1 changed files with 4 additions and 0 deletions

View File

@ -615,6 +615,10 @@ namespace OpenSim.Region.Environment.Scenes
if (destRegionUp)
{
// Fixing a bug where teleporting while sitting results in the avatar ending up removed from
// both regions
if (avatar.ParentID != (uint)0)
avatar.StandUp();
if(!avatar.ValidateAttachments())
{
avatar.ControllingClient.SendTeleportFailed("Inconsistent attachment state");