-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Fix #1336 by adding a master kill switch for inputs. #1372
Conversation
I like the idea of a global toggle, but I have a few comments.
I'm all for solving this problem, since it's an annoying one, but we need to think through everything to make sure all of our bases are covered. |
For 2, the docs on the new variable explicitly state that it is for transient events only, things that are temporary in nature. In the "Camera Tutorial" sandcastle example, for example, inputs are still disabled using the old method of setting all the values to false, because that's permanent. What should its name be? |
Conflicts: CHANGES.md
If someone can propose a better name for Other than that, this is ready to merge. |
I assume you didn't like either of my name suggestions? If this is meant to be for isolated cases, I'm okay with it going into master, but I would prefer some stronger wording in the documentation. Maybe "This flag should only be used in transient" as opposed to "typically" used. I think that's what caused my initial objections (which go away if the flag is exclusively for these special cases). Also, master need to be merged in. |
The others are all |
Sure. |
Conflicts: CHANGES.md
Done. |
While testing this, I found #1374 (which is unrelated and happens in master). I did however find another minor issue that is related.
I can write up another bug if you want, but I thought it might be a simple fix in this area of the code. Thoughts? |
What I meant was, I can write up another bug and merge this as-is, if you don't have time to look at the issue. The new behavior is still a big improvement over master. |
Investigating this further. Looks like multiple flights can be running at the same time, and the most recently added one is the one that "wins" each frame. Really only one flight animation makes sense at a time. From the code I predict there is also a bug where if you start a long flight, and then start a short flight, at the end of your short flight you might jump to near the end of the longer flight. |
So this is probably a different manifestation of #377? |
Fix #1336 by adding a master kill switch for inputs.
No description provided.