Blender Git Commit Log

Git Commits -> Revision dbf5bb7

Revision dbf5bb7 by Philipp Oeser (master)
August 11, 2020, 20:06 (GMT)
Fix T79640: "Assign Shortcut" doesn't work for "View 2D Zoom"

'VIEW2D_OT' operators were not respected in WM_keymap_guess_opname().
This was seemingly done on purpose (see comment "Op types purposely
skipped for now"), but dont really see the reason for doing so.

Since the "View2D" keymap is not bound to a specific spacetype, we can
still find it using WM_keymap_find_all() [and passing 0 as spacetype].

Reviewers: Severin


Commit Details:

Full Hash: dbf5bb7af2e45ea59c7a15346a5ee989828f2d07
Parent Commit: 2fc2a0a
Lines Changed: +4, -1

1 Modified Path:

/source/blender/windowmanager/intern/wm_keymap_utils.c (+4, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021