Fixed (1.20.1.5) Order of selection when cycling is unpredictable

via5

Well-known member
Messages
132
Reactions
389
Points
63
The order in which the "Cycle Select Person" button switches between persons is often unpredictable. I can't say exactly what the algorithm is, but sometimes a person is selected twice in the cycle or not at all (A->B->A->C, for example).
 
I have reviewed this code and it does work in a consistent ordered manner. There might be an oddity if you manually select one of the Person atoms, and then use cycle select. In that case it could go in an order you might not expect. That is because the cycle select does not take into account manual selection. It only cares about the last person selected by the cycle select button. You can try this out and see for yourself by using cycle select to go through all the Person atoms several times. You will see it is consistent. But then if you manually select one of the Person atoms and then use cycle select, it will select the next one based on the last cycle select. I can probably fix it so when you manually select a Person atom it updates the cycle select data with that info so it will be consistent.
 
> take into account manual selection when doing cycle select

Yep, that explains what I was seeing. Thank you very much for fixing this and the mouse wheel. They were the biggest QOL annoyances I had with VAM.
 
Back
Top Bottom