From 7168fa003108787b173deab9451d9f2000ca7dec Mon Sep 17 00:00:00 2001 From: Vincent Sylvester Date: Sun, 22 May 2022 17:25:34 +0200 Subject: [PATCH] llGet projector info Signed-off-by: UbitUmarov --- .../ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 8748867436..67ad79f215 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -11769,6 +11769,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return new LSL_List(); return rules.GetSublist(idx, -1); + + case (int)ScriptBaseClass.PRIM_PROJECTOR: + + res.Add(new LSL_String(part.Shape.ProjectionTextureUUID.ToString())); + res.Add(new LSL_Float(part.Shape.ProjectionFOV)); + res.Add(new LSL_Float(part.Shape.ProjectionFocus)); + res.Add(new LSL_Float(part.Shape.ProjectionAmbiance)); + break; } }