aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorCharles Krinke2008-08-21 14:18:40 +0000
committerCharles Krinke2008-08-21 14:18:40 +0000
commit5a85f22110fa2c8c71150100947e90a3fc9c0543 (patch)
treedaf1a5055d98f7a3a68bd18657603ab7c90b9100 /OpenSim
parent- corrects statement about {asset,user,inventory} source configuration (diff)
downloadopensim-SC-5a85f22110fa2c8c71150100947e90a3fc9c0543.zip
opensim-SC-5a85f22110fa2c8c71150100947e90a3fc9c0543.tar.gz
opensim-SC-5a85f22110fa2c8c71150100947e90a3fc9c0543.tar.bz2
opensim-SC-5a85f22110fa2c8c71150100947e90a3fc9c0543.tar.xz
Mantis#1990. Thank you kindly, Nlin and M.Igarashi for a patch that:
This patch improves LSL conformance by inserting a 0.2 second delay into llSetPos/llSetRot, as the function specification states. Thanks to M. Igarashi for the patch.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 3823ff8..6c62d88 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -1510,6 +1510,9 @@ namespace OpenSim.Region.ScriptEngine.Common
1510 m_host.AddScriptLPS(1); 1510 m_host.AddScriptLPS(1);
1511 1511
1512 SetPos(m_host, pos); 1512 SetPos(m_host, pos);
1513
1514 // sleep for 0.2 seconds
1515 System.Threading.Thread.Sleep(200);
1513 } 1516 }
1514 1517
1515 private void SetPos(SceneObjectPart part, LSL_Types.Vector3 pos) 1518 private void SetPos(SceneObjectPart part, LSL_Types.Vector3 pos)
@@ -1554,6 +1557,9 @@ namespace OpenSim.Region.ScriptEngine.Common
1554 m_host.AddScriptLPS(1); 1557 m_host.AddScriptLPS(1);
1555 1558
1556 SetRot(m_host, rot); 1559 SetRot(m_host, rot);
1560
1561 // sleep for 0.2 seconds
1562 System.Threading.Thread.Sleep(200);
1557 } 1563 }
1558 1564
1559 private void SetRot(SceneObjectPart part, LSL_Types.Quaternion rot) 1565 private void SetRot(SceneObjectPart part, LSL_Types.Quaternion rot)