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
|
@ -264,7 +264,7 @@ state running
|
|||
{
|
||||
integer index = llListFindList(CLOTHING_LAYERS, [msg]);
|
||||
command = "outfit";
|
||||
if (!~index)
|
||||
if (index == -1)
|
||||
{
|
||||
index = llListFindList(ATTACHMENT_POINTS, [msg]);
|
||||
command = "attach";
|
||||
|
@ -420,7 +420,7 @@ state running
|
|||
integer j;
|
||||
while (j < llGetListLength(subRestrictions))
|
||||
{
|
||||
if (!~llListFindList(currentRestrictions, [llList2String(subRestrictions, j)]))
|
||||
if (llListFindList(currentRestrictions, [llList2String(subRestrictions, j)]) == -1)
|
||||
{
|
||||
inActive = TRUE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue