Fix viewport orbit snap defaulting to always snapping when shortcut(s) are set to none#115002
Conversation
…) are set to none
6173479 to
7b2b3b4
Compare
|
Isn't it weird that |
I agree, although the reasoning for it, is somewhat explained in the OP of #85331:
As long as two slot system is used, if one is undefined, that one needs to act as pressed if the other one is pressed. It seems like possibly that whole system is due for a review. Given that it was intentional, changing it at this point would probably a breaking change until how shortcuts are handled in general is reworked to handle these scenarios. |
For example: #115776 I'll probably take a look at it more in-depth at some point, but this PR should be fine to resolve the regression. |
|
Also worth noting, we're apparently lacking feature parity between the editor viewport and the runtime debugger / game window when it comes to navigation mode preferences. I believe @YeldhamDev intends to refactor things to be able to reuse that logic in both, but I agree that some de-spaghettifying of the navigation/modifiers code could be worth doing first. |
|
Thanks! |
|
Cherry-picked for 4.6.1. |
…uire-shortcut Fix viewport orbit snap defaulting to always snapping when shortcut(s) are set to none
Fixes: #114997