From e7564577033ce58c253a535b2ab501271a3e812f Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Thu, 3 Apr 2014 01:21:50 +0100 Subject: Remove redundant part.SitTargetAvatar setting from SP.MakeRootAgent as part.AddSittingAvatar already does this. --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 -- 1 file changed, 2 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 3d1c58c..3e5b6bf 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -1023,8 +1023,6 @@ namespace OpenSim.Region.Framework.Scenes else { part.AddSittingAvatar(this); - if (part.SitTargetPosition != Vector3.Zero) - part.SitTargetAvatar = UUID; // ParentPosition = part.GetWorldPosition(); ParentID = part.LocalId; ParentPart = part; -- cgit v1.1