Stop "handle sit user name" command from trying to sit avatars on objects which have sit positions but are attachments

This commit is contained in:
Justin Clark-Casey (justincc)
2013-08-22 22:49:23 +01:00
parent 416bbe9583
commit beb9d966f9

View File

@@ -127,6 +127,9 @@ namespace OpenSim.Region.OptionalModules.Avatar.SitStand
foreach (SceneObjectGroup sceneObject in sceneObjects)
{
if (sceneObject.IsAttachment)
continue;
foreach (SceneObjectPart part in sceneObject.Parts)
{
if (part.IsSitTargetSet && part.SitTargetAvatar == UUID.Zero)