refactor: decompose most of RezScript() into RezScriptFromAgentInventory(), RezNewScript() and rename one RezScript() to RezScriptFromPrim()

This commit is contained in:
Justin Clark-Casey (justincc)
2012-01-25 23:22:07 +00:00
parent 2e7c1bcfd9
commit 2de3a1b9da
2 changed files with 99 additions and 82 deletions

View File

@@ -6603,7 +6603,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
}
// the rest of the permission checks are done in RezScript, so check the pin there as well
World.RezScript(srcId, m_host, destId, pin, running, start_param);
World.RezScriptFromPrim(srcId, m_host, destId, pin, running, start_param);
// this will cause the delay even if the script pin or permissions were wrong - seems ok
ScriptSleep(3000);
}