Fix some marginal bugs, and the version of [AV]faces.
- Bump version of [AV]faces to 2.2. - With very bad luck, some channel numbers could overflow the range of an integer due to float rounding, and produce DEBUG_CHANNEL or PUBLIC_CHANNEL as output. - If both CHANGED_INVENTORY and CHANGED_LINK came at the same time, [AV]prop would fail to handle both. - There was code that did nothing in [AV]faces. While it caused no bug per se, if it was reused in future then it could be affected by the same problem as that in [AV]prop.
This commit is contained in:
parent
610890951d
commit
4278710ce8
11 changed files with 20 additions and 15 deletions
|
@ -39,7 +39,8 @@ integer IsInteger(string data)
|
|||
{
|
||||
return llParseString2List((string)llParseString2List(data, ["8", "9"], []), ["0", "1", "2", "3", "4", "5", "6", "7"], []) == [] && data != "";
|
||||
}
|
||||
string version = "2.1";
|
||||
|
||||
string version = "2.2";
|
||||
string notecard_name = "AVpos";
|
||||
string main_script = "[AV]sitA";
|
||||
key key_request;
|
||||
|
@ -371,12 +372,16 @@ default
|
|||
init_sitters();
|
||||
}
|
||||
}
|
||||
else if (change & CHANGED_LINK)
|
||||
/*
|
||||
// If you uncomment this, don't make this an 'else if', as
|
||||
// changed events may come several at a time.
|
||||
if (change & CHANGED_LINK)
|
||||
{
|
||||
if (llGetAgentSize(llGetLinkKey(llGetNumberOfPrims())) == ZERO_VECTOR)
|
||||
{
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
dataserver(key query_id, string data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue