-
Notifications
You must be signed in to change notification settings - Fork 2
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
Ctrl/cmd prevents to properly switch tool in edit mesh mode #816
Comments
I haven't had a chance to look at the code yet, but maybe the hotkey that changes the tool should, when |
The problem is not strictly connected to the hotkey actually. You can reproduce the bug just by clicking the button while holding Anyway, I guess the solution is still setting the In both cases when the hotkey
If I add a However, this fix requires to add it to all buttons. Maybe you have a better idea. |
That fix sounds pretty OK. It may be cleaner to have MeshEditMode override Mode |
A user reported on the forum that when setting hotkeys
cmd + 1
andcmd + 2
to activateEdit Mesh - Modify
andEdit Mesh - Create
respectively, a strange behaviour occurs as if the UI updated the tool, but the application state holds the previous tool.I was able to track down the problem to the
keyUp
method method ofMeshEditMode
wherelastTool
is restored whenctrl/cmd
is released. This is because whilectrl/cmd
is pressed inMeshEditMode
, a different tool is activated, and the previous one has to be restored uponctrl/cmd
release.The issue is of the same nature as #803 (comment), but in another piece of code.
Should we consider and mark
ctrl/cmd
not usable for certain hotkeys, or should we find a way to fix the code so that those keys are usable as hotkeys?If we choose the former, we should probably add a validation for those hotkeys that cannot use
ctrl/cmd
so that when the users reload the hotkeys, a dialog lists the names of the actions associated to the invalid hotkeys.The text was updated successfully, but these errors were encountered: