diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index c24903c8ac5..cd92adebfed 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -4021,7 +4021,7 @@ private void SetProjectionParams(SceneObjectPart obj, LSL_Integer llprojection, obj.Shape.ProjectionEntry = true; obj.Shape.ProjectionTextureUUID = texID; obj.Shape.ProjectionFOV = Util.Clamp((float)fov, 0, 3.0f); - obj.Shape.ProjectionFocus = Util.Clamp((float)focus, 0, 20.0f); + obj.Shape.ProjectionFocus = Util.Clamp((float)focus, -20.0f, 20.0f); obj.Shape.ProjectionAmbiance = Util.Clamp((float)amb, 0, 1.0f); obj.ParentGroup.HasGroupChanged = true;