mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
mantis: 8008 unscripted child prim collisions didn't trigger scripted root prim collision events; collision sounds had incorrect aggregateevents call and default sounds where muted. Future optimization needed and Testing
This commit is contained in:
@@ -129,8 +129,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
return;
|
||||
|
||||
float volume = part.CollisionSoundVolume;
|
||||
if (volume == 0.0f)
|
||||
return;
|
||||
|
||||
UUID soundID = part.CollisionSound;
|
||||
|
||||
@@ -150,6 +148,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
break;
|
||||
}
|
||||
|
||||
if (volume == 0.0f)
|
||||
return;
|
||||
|
||||
bool doneownsound = false;
|
||||
|
||||
int thisMaterial = (int)part.Material;
|
||||
|
||||
Reference in New Issue
Block a user