diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 3 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 5ed8c47..6c54c9b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -8090,6 +8090,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
8090 | case (int)ScriptBaseClass.PRIM_ROT_LOCAL: | 8090 | case (int)ScriptBaseClass.PRIM_ROT_LOCAL: |
8091 | res.Add(new LSL_Rotation(part.RotationOffset.X, part.RotationOffset.Y, part.RotationOffset.Z, part.RotationOffset.W)); | 8091 | res.Add(new LSL_Rotation(part.RotationOffset.X, part.RotationOffset.Y, part.RotationOffset.Z, part.RotationOffset.W)); |
8092 | break; | 8092 | break; |
8093 | case (int)ScriptBaseClass.PRIM_POS_LOCAL: | ||
8094 | res.Add(new LSL_Vector(GetPartLocalPos(part))); | ||
8095 | break; | ||
8093 | } | 8096 | } |
8094 | } | 8097 | } |
8095 | return res; | 8098 | return res; |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs index ce4661c..fd08373 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | |||
@@ -322,6 +322,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
322 | public const int PRIM_DESC = 28; | 322 | public const int PRIM_DESC = 28; |
323 | public const int PRIM_ROT_LOCAL = 29; | 323 | public const int PRIM_ROT_LOCAL = 29; |
324 | public const int PRIM_OMEGA = 32; | 324 | public const int PRIM_OMEGA = 32; |
325 | public const int PRIM_POS_LOCAL = 33; | ||
325 | public const int PRIM_LINK_TARGET = 34; | 326 | public const int PRIM_LINK_TARGET = 34; |
326 | public const int PRIM_TEXGEN_DEFAULT = 0; | 327 | public const int PRIM_TEXGEN_DEFAULT = 0; |
327 | public const int PRIM_TEXGEN_PLANAR = 1; | 328 | public const int PRIM_TEXGEN_PLANAR = 1; |