Stop "handle sit user name" command from trying to sit avatars on objects which have sit positions but are attachments
parent
416bbe9583
commit
beb9d966f9
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue