exclude invalid collision sound (used as collision type flag) from assets UUIDGather
parent
f6e77e3935
commit
3e47df735b
|
@ -178,8 +178,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
if (part.Shape.ProjectionTextureUUID != UUID.Zero)
|
if (part.Shape.ProjectionTextureUUID != UUID.Zero)
|
||||||
GatheredUuids[part.Shape.ProjectionTextureUUID] = (sbyte)AssetType.Texture;
|
GatheredUuids[part.Shape.ProjectionTextureUUID] = (sbyte)AssetType.Texture;
|
||||||
|
|
||||||
if (part.CollisionSound != UUID.Zero)
|
UUID collisionSound = part.CollisionSound;
|
||||||
GatheredUuids[part.CollisionSound] = (sbyte)AssetType.Sound;
|
if ( collisionSound != UUID.Zero &&
|
||||||
|
collisionSound != part.invalidCollisionSoundUUID)
|
||||||
|
GatheredUuids[collisionSound] = (sbyte)AssetType.Sound;
|
||||||
|
|
||||||
if (part.ParticleSystem.Length > 0)
|
if (part.ParticleSystem.Length > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue