mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Remove redundant part.SitTargetAvatar setting from SP.MakeRootAgent as part.AddSittingAvatar already does this.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user