editor: Unable to move object after rotating it
Which resource(s) have this problem? editor
Describe the bug After rotating any object once while holding one of the rotate modifier keys (lctrl, rctrl), you are no longer able to move any object
To Reproduce
- Launch editor
- Place any object
- Move that object, works as intended
- Rotate that object using any rotate modifier key, works as intended
- Try to move that object, it rotates instead of moving
Expected behavior It's supposed to move.
Version 1.6
This appears to only happen when you switch around the rotate modifier keybinds (which is necessary to get the old rotating behaviour as it got changed with ced470eb0ead7c48df948a17533fda8cbe656b0d)
So nobody seems to care eh
I looked into what might cause this but haven't found a real culprit yet When switching the keys in the settings around and pressing one of it down it fires the correct command, but upon releasing the key it'll fire the default command e.g. press lctrl it triggers mod_rotate_local but when releasing it, it'll trigger mod_rotate This does not appear to happen with any other key bindings when switching them around..
I can't reproduce the problem. No matter which modifier I press, if I press them both at the same time or even bind both of them to the same key, I can't reproduce it, movement always returns to functional the moment no rotation modifier is held as intended.
I just completly reinstalled MTA to verify and the issue still persists for me.
Edit:
default settings:
* Commands bound to "lctrl" (down) *
Rotate Modifier World Space
Clone Drop Modifier
* Commands bound to "lctrl" (up) *
Rotate Modifier World Space
Clone Drop Modifier
mod_rotate & mod_rotate_local bindings switched:
* Commands bound to "lctrl" (down) *
Clone Drop Modifier
Rotate Modifier Local Space
* Commands bound to "lctrl" (up) *
Rotate Modifier World Space
Clone Drop Modifier