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
parent
670719cb76
commit
84cdebe470
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue