-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clicking on vehicle restriction handles throws hidden exception #744
Comments
I tried with other tools but couldn't get that error. Seems to only affect Vehicle Restricitons. Note: I was just randomly clicking stuff so not sure what specifically causes the error; as such it's possible error is there in other tools so still do some extra testing on that. |
I think that occurs only with shift click. |
Tried various key modifiers with various tools; only one throwing errors is Vehicle Restrictions. Log file from current 11.1.0 master branch |
You are searching in a wrong place. Exception is thrown in I think we should investigate if current implementation of interactions is correctly set up. |
@krzychu124 when fixing a single segment, the refresh is delayed. but when fixing multiple segments it is not. so that's why way of fixing it. but honestly, i'd just return and try again next loop. |
you could convert hashset to array and use regular |
too slow. If it was up to me I would throw an exception and then catch it silently. |
That's probably even slower(if you use logging) 😅 |
@krzychu124 in any case I know you guys are not going to agree to the exception approach so I found another way to both make the code simpler and solve the problem. Ill upload PR now I am shocked how did it skipped my attention that I am looking in the wrong place. I was too sleepy and sloppy! zzzzzzz back to 100% now :) |
I return after update to avoid exception.
#744 fixed iteration exception when clicking on handles
see #721 (review)
we should also check for other tools too.
The text was updated successfully, but these errors were encountered: