AVsitter/AVsitter2
aglaia-resident d5c63bf686 Fix issues when using KFM
I've got an issue reported several times by customers with furnitures moving with KFM. They get this error:
`Cannot use a script to move a linkset while it is playing an animation. Stop the animation first.`

Before this fix, the codes follow this workflow:
- it pause KFM
- it sleeps 0.15 seconds
- it updates the link position
- it sleeps 0.15 seconds
- it restarts KFM

I think you've put these 0.15 sleep before and after because both scripts `sitA` and `sitA 1` (and more if there 3 ore more sitters) can be slightly unsynched, so it is good to give a little delay to avoid that `sitA` restarts KFM while `sitA 1` hasn't changed the link position yet.

But it looks like the first llSleep is not only needless, but even increases the risk of error. Why sleeping 0.15 seconds between the KFM pause and the link position change? It makes the critical situation longer. The error occurs quite often. And it becomes alsmot systematic if both sitters select a pose roughly at the same time.

I did a test, sitting on a furniture with a friend. I asked her to click many times on all buttons. I was doing the same. In less than 20 seconds, i got the error 5 times!

Then i did the same test, remove the first llSleep, and keeping the second one, that i have increased a little bit to 0.2 seconds. Same test with this friend: 0 error.
2021-08-03 23:55:32 +02:00
..
Plugins Simplify [AV]favs using message 90008 2020-10-11 14:23:45 +02:00
Utilities Change the versioning scheme and add full version to all scripts 2020-09-07 22:42:58 +02:00
[AV]adjuster.lsl Change the versioning scheme and add full version to all scripts 2020-09-07 22:42:58 +02:00
[AV]helperscript.lsl Change the versioning scheme and add full version to all scripts 2020-09-07 22:42:58 +02:00
[AV]root-security.lsl Change the versioning scheme and add full version to all scripts 2020-09-07 22:42:58 +02:00
[AV]root.lsl Change the versioning scheme and add full version to all scripts 2020-09-07 22:42:58 +02:00
[AV]select.lsl Change the versioning scheme and add full version to all scripts 2020-09-07 22:42:58 +02:00
[AV]sitA.lsl Fix issues when using KFM 2021-08-03 23:55:32 +02:00
[AV]sitB.lsl Reuse the position/rotation vectors when they occur multiple times 2021-01-10 16:27:10 +01:00
avsitter2_link_message_reference.md Add [AV]favs - Favourite poses menu 2020-10-11 14:23:45 +02:00
build-aux.py Add automatic version numbering to the build system. 2020-09-07 22:42:47 +02:00
BUILD_GUIDE.md Rename RELEASE to BUILD_GUIDE and prepare-for-oss to build-aux 2017-09-02 09:45:52 +02:00
IMPORT_GUIDE.md Rename [AV]helper to [AV]helperscript to prevent confusion 2020-04-03 01:30:10 +02:00
Makefile Add [AV]favs - Favourite poses menu 2020-10-11 14:23:45 +02:00
MARKETPLACE.txt Revise MARKETPLACE.txt and fix typo 2017-08-07 16:55:12 +10:00