mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
replace util.clip by utils.clamp (from libomv), and a few more cosmetics
This commit is contained in:
@@ -301,7 +301,7 @@ namespace OpenSim.Region.CoreModules.World.Sound
|
||||
if (!m_scene.TryGetSceneObjectPart(objectID, out part))
|
||||
return;
|
||||
|
||||
volume = Util.Clip((float)volume, 0, 1);
|
||||
volume = Utils.Clamp(volume, 0, 1);
|
||||
|
||||
UUID parentID = part.ParentGroup.UUID;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user