LSL compatibility fix. Add 0.1 s sleep to llSetLinkPrimitiveParams so fade scripts will time correctly. The -Fast version works without a delay

avinationmerge
Melanie Thielker 2010-07-22 19:20:09 +02:00
parent fb89d0ff4e
commit ce8b9b4181
1 changed files with 3 additions and 2 deletions

View File

@ -7165,7 +7165,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
SetPrimParams(m_host, rules); SetPrimParams(m_host, rules);
} }
public void llSetLinkPrimitiveParams(int linknumber, LSL_List rules) public void llSetLinkPrimitiveParamsFast(int linknumber, LSL_List rules)
{ {
m_host.AddScriptLPS(1); m_host.AddScriptLPS(1);
@ -7191,9 +7191,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
} }
} }
public void llSetLinkPrimitiveParamsFast(int linknumber, LSL_List rules) public void llSetLinkPrimitiveParams(int linknumber, LSL_List rules)
{ {
llSetLinkPrimitiveParams(linknumber, rules); llSetLinkPrimitiveParams(linknumber, rules);
ScriptSleep(100);
} }
protected void SetPrimParams(ScenePresence av, LSL_List rules) protected void SetPrimParams(ScenePresence av, LSL_List rules)