mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Mantis#2047. Thank you kindly, Simsim for a patch that addresses:
avatar sitting on the object can not telport to other regions.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user