Undo some hand optimizations.
Many of them cause problems with OpenSim. All of them are applied by the optimizer, except (str="")+str, which produces gains only in LSO, not in Mono, and doesn't work in OpenSim. A few are undone only for clarity, relying on the fact that the optimizer will apply them again.
This commit is contained in:
parent
202b4503d1
commit
610890951d
12 changed files with 70 additions and 70 deletions
|
@ -282,7 +282,7 @@ default
|
|||
if (llList2String(anim_triggers, i) == given_posename)
|
||||
{
|
||||
integer reference = llListFindList(anim_triggers, [(string)sitter + "|" + llList2String(anim_animsequences, i)]);
|
||||
if (!~reference)
|
||||
if (reference == -1)
|
||||
{
|
||||
reference = i;
|
||||
}
|
||||
|
@ -338,7 +338,7 @@ default
|
|||
integer i;
|
||||
for (i = 0; i < llGetListLength(anim_triggers); i++)
|
||||
{
|
||||
if (!llSubStringIndex(llList2String(anim_triggers, i), msg + "|"))
|
||||
if (llSubStringIndex(llList2String(anim_triggers, i), msg + "|") == 0)
|
||||
{
|
||||
list trigger = llParseString2List(llList2String(anim_triggers, i), ["|"], []);
|
||||
list sequence = llParseString2List(llList2String(anim_animsequences, i), ["|"], []);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue