mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Revert "When scripts are sleeping, don't count that as execution time"
The approach is good but the way it is written breaks the architecture.
Rewrite follows.
This reverts commit a568f06b7f.
This commit is contained in:
@@ -89,7 +89,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
|
||||
m_scene.AddSceneObject(grp1);
|
||||
|
||||
LSL_Api apiGrp1 = new LSL_Api();
|
||||
apiGrp1.Initialize(m_engine, grp1.RootPart, null, null, null);
|
||||
apiGrp1.Initialize(m_engine, grp1.RootPart, null, null);
|
||||
|
||||
// Check simple 1 prim case
|
||||
{
|
||||
@@ -167,7 +167,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
|
||||
Assert.That(scene.AddNewSceneObject(new SceneObjectGroup(part1), false), Is.True);
|
||||
|
||||
LSL_Api apiGrp1 = new LSL_Api();
|
||||
apiGrp1.Initialize(m_engine, part1, null, null, null);
|
||||
apiGrp1.Initialize(m_engine, part1, null, null);
|
||||
|
||||
// Note that prim hollow check is passed with the other prim params in order to allow the
|
||||
// specification of a different check value from the prim param. A cylinder, prism, sphere,
|
||||
|
||||
Reference in New Issue
Block a user