aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie2012-06-08 00:09:30 +0200
committerMelanie2012-06-08 00:09:30 +0200
commit038acc39bef922b823964ac43083b24c129fca81 (patch)
treeabe6c927f77879a63244eab88acc296580b42705
parentFurther limit the amount of avatar collisions that will actually trigger (diff)
downloadopensim-SC_OLD-038acc39bef922b823964ac43083b24c129fca81.zip
opensim-SC_OLD-038acc39bef922b823964ac43083b24c129fca81.tar.gz
opensim-SC_OLD-038acc39bef922b823964ac43083b24c129fca81.tar.bz2
opensim-SC_OLD-038acc39bef922b823964ac43083b24c129fca81.tar.xz
Cut off collision sounds with avatar at 3.2. This makes most walkig collisions
with walls and stairs silent. Falls from greater height and running into things will still be heard. a CollisionSound defined for the object will override this so one can still script a soccer ball with sounds.
-rw-r--r--OpenSim/Region/Framework/Scenes/CollisionSounds.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/CollisionSounds.cs b/OpenSim/Region/Framework/Scenes/CollisionSounds.cs
index 3ec3cf7..075724e 100644
--- a/OpenSim/Region/Framework/Scenes/CollisionSounds.cs
+++ b/OpenSim/Region/Framework/Scenes/CollisionSounds.cs
@@ -268,7 +268,7 @@ namespace OpenSim.Region.Framework.Scenes
268 volume = Math.Abs(colInfo.relativeVel); 268 volume = Math.Abs(colInfo.relativeVel);
269 // Most noral collisions (running into walls, stairs) 269 // Most noral collisions (running into walls, stairs)
270 // should never be heard. 270 // should never be heard.
271 if (volume < 2.0f) 271 if (volume < 3.2f)
272 continue; 272 continue;
273// m_log.DebugFormat("Collision speed was {0}", volume); 273// m_log.DebugFormat("Collision speed was {0}", volume);
274 274