From 04800a7570abc0c251f3b0e1c144c50c21d11e42 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 21 Sep 2015 19:56:59 +0100 Subject: add missing sit check --- OpenSim/Region/Framework/Scenes/Scene.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 74cc161..cbaf803 100755 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -2634,7 +2634,8 @@ namespace OpenSim.Region.Framework.Scenes List avatars = group.GetSittingAvatars(); foreach (ScenePresence av in avatars) { - av.StandUp(); + if(av.ParentUUID == UUID.Zero) + av.StandUp(); } SceneObjectPart[] partList = group.Parts; -- cgit v1.1