From a568f06b7faea807149205d0e47454e4883e4836 Mon Sep 17 00:00:00 2001 From: Oren Hurvitz Date: Thu, 6 Aug 2015 09:54:20 +0300 Subject: When scripts are sleeping, don't count that as execution time Sleeping doesn't use the CPU. --- OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiAvatarTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiAvatarTests.cs') diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiAvatarTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiAvatarTests.cs index 8170e9b..06494b0 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiAvatarTests.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiAvatarTests.cs @@ -95,7 +95,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests part.RotationOffset = new Quaternion(0.7071068f, 0, 0, 0.7071068f); LSL_Api apiGrp1 = new LSL_Api(); - apiGrp1.Initialize(m_engine, part, null, null); + apiGrp1.Initialize(m_engine, part, null, null, null); ScenePresence sp = SceneHelpers.AddScenePresence(m_scene, userId); -- cgit v1.1