Update Missing-anim-finder.lsl
addresses https://github.com/AVsitter/AVsitter/pull/84#discussion_r173986549
This commit is contained in:
parent
31622ceb9b
commit
57c8176afa
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ default
|
||||||
integer isVariableSpeed;
|
integer isVariableSpeed;
|
||||||
string anim_basename = llGetInventoryName(INVENTORY_ANIMATION, i);
|
string anim_basename = llGetInventoryName(INVENTORY_ANIMATION, i);
|
||||||
|
|
||||||
if(llListFindList(["+","-"], [llDeleteSubString(anim_basename,0,-2)]) != -1)
|
if(llListFindList(["+","-"], [llGetSubString(anim_basename, -1, -1)]) != -1)
|
||||||
{
|
{
|
||||||
index = llListFindList(ALL_USED_ANIMS, [llDeleteSubString(anim_basename,-1,-1)]);
|
index = llListFindList(ALL_USED_ANIMS, [llDeleteSubString(anim_basename,-1,-1)]);
|
||||||
// only consider anims as variable-speed if their base name was used in a variable-speed submenu:
|
// only consider anims as variable-speed if their base name was used in a variable-speed submenu:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue