diff options
author | Justin Clark-Casey (justincc) | 2014-04-03 01:21:50 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-04-03 01:21:50 +0100 |
commit | e7564577033ce58c253a535b2ab501271a3e812f (patch) | |
tree | 076f7e97414f613d584eb34bfb59aa6356cc0d8c /OpenSim/Region | |
parent | refactor: Use m_sittingAvatars to maintain the list of sitting avatars instea... (diff) | |
download | opensim-SC_OLD-e7564577033ce58c253a535b2ab501271a3e812f.zip opensim-SC_OLD-e7564577033ce58c253a535b2ab501271a3e812f.tar.gz opensim-SC_OLD-e7564577033ce58c253a535b2ab501271a3e812f.tar.bz2 opensim-SC_OLD-e7564577033ce58c253a535b2ab501271a3e812f.tar.xz |
Remove redundant part.SitTargetAvatar setting from SP.MakeRootAgent as part.AddSittingAvatar already does this.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
1 files changed, 0 insertions, 2 deletions
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 | |||
1023 | else | 1023 | else |
1024 | { | 1024 | { |
1025 | part.AddSittingAvatar(this); | 1025 | part.AddSittingAvatar(this); |
1026 | if (part.SitTargetPosition != Vector3.Zero) | ||
1027 | part.SitTargetAvatar = UUID; | ||
1028 | // ParentPosition = part.GetWorldPosition(); | 1026 | // ParentPosition = part.GetWorldPosition(); |
1029 | ParentID = part.LocalId; | 1027 | ParentID = part.LocalId; |
1030 | ParentPart = part; | 1028 | ParentPart = part; |