aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorUbitUmarov2017-04-05 01:15:44 +0100
committerUbitUmarov2017-04-05 01:15:44 +0100
commit2805cb9dec567cdfb7a25d771527510b7a6284af (patch)
treeb27cfe434f20dc5e59b1aa4f78b0e8c3e33f84b1 /OpenSim
parentadd a little speedup on repeated requests for same name on osGetLinkNumber. (diff)
downloadopensim-SC-2805cb9dec567cdfb7a25d771527510b7a6284af.zip
opensim-SC-2805cb9dec567cdfb7a25d771527510b7a6284af.tar.gz
opensim-SC-2805cb9dec567cdfb7a25d771527510b7a6284af.tar.bz2
opensim-SC-2805cb9dec567cdfb7a25d771527510b7a6284af.tar.xz
give osTeleportObject proper OSFunctionThreatLevel setting on osslEnable.ini
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index 0275cf4..a6f6a80 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -4644,13 +4644,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
4644 /// </remarks> 4644 /// </remarks>
4645 public void osTeleportObject(LSL_Key objectUUID, LSL_Vector targetPos, LSL_Rotation rotation, LSL_Integer flags) 4645 public void osTeleportObject(LSL_Key objectUUID, LSL_Vector targetPos, LSL_Rotation rotation, LSL_Integer flags)
4646 { 4646 {
4647 CheckThreatLevel(ThreatLevel.Severe, "osTeleportAgent"); 4647 CheckThreatLevel(ThreatLevel.Severe, "osTeleportObject");
4648 m_host.AddScriptLPS(1); 4648 m_host.AddScriptLPS(1);
4649 4649
4650 UUID objUUID; 4650 UUID objUUID;
4651 if (!UUID.TryParse(objectUUID, out objUUID)) 4651 if (!UUID.TryParse(objectUUID, out objUUID))
4652 { 4652 {
4653 OSSLShoutError("osObjectTeleport() invalid object Key"); 4653 OSSLShoutError("osTeleportObject() invalid object Key");
4654 return; 4654 return;
4655 } 4655 }
4656 4656