aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/SitStand/SitStandCommandsModule.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/SitStand/SitStandCommandsModule.cs b/OpenSim/Region/OptionalModules/Avatar/SitStand/SitStandCommandsModule.cs
index 4a591cf..5a6b284 100644
--- a/OpenSim/Region/OptionalModules/Avatar/SitStand/SitStandCommandsModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/SitStand/SitStandCommandsModule.cs
@@ -127,6 +127,9 @@ namespace OpenSim.Region.OptionalModules.Avatar.SitStand
127 127
128 foreach (SceneObjectGroup sceneObject in sceneObjects) 128 foreach (SceneObjectGroup sceneObject in sceneObjects)
129 { 129 {
130 if (sceneObject.IsAttachment)
131 continue;
132
130 foreach (SceneObjectPart part in sceneObject.Parts) 133 foreach (SceneObjectPart part in sceneObject.Parts)
131 { 134 {
132 if (part.IsSitTargetSet && part.SitTargetAvatar == UUID.Zero) 135 if (part.IsSitTargetSet && part.SitTargetAvatar == UUID.Zero)