diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/UuidGatherer.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/UuidGatherer.cs b/OpenSim/Region/Framework/Scenes/UuidGatherer.cs index d8928ee..37b91d3 100644 --- a/OpenSim/Region/Framework/Scenes/UuidGatherer.cs +++ b/OpenSim/Region/Framework/Scenes/UuidGatherer.cs | |||
@@ -178,8 +178,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
178 | if (part.Shape.ProjectionTextureUUID != UUID.Zero) | 178 | if (part.Shape.ProjectionTextureUUID != UUID.Zero) |
179 | GatheredUuids[part.Shape.ProjectionTextureUUID] = (sbyte)AssetType.Texture; | 179 | GatheredUuids[part.Shape.ProjectionTextureUUID] = (sbyte)AssetType.Texture; |
180 | 180 | ||
181 | if (part.CollisionSound != UUID.Zero) | 181 | UUID collisionSound = part.CollisionSound; |
182 | GatheredUuids[part.CollisionSound] = (sbyte)AssetType.Sound; | 182 | if ( collisionSound != UUID.Zero && |
183 | collisionSound != part.invalidCollisionSoundUUID) | ||
184 | GatheredUuids[collisionSound] = (sbyte)AssetType.Sound; | ||
183 | 185 | ||
184 | if (part.ParticleSystem.Length > 0) | 186 | if (part.ParticleSystem.Length > 0) |
185 | { | 187 | { |