Blender Git Commit Log

Git Commits -> Revision 987dd55

Revision 987dd55 by Sergey Sharybin (master)
April 16, 2012, 09:55 (GMT)
Fix #30958: Right click menu and add shortcut for importers/exporters doesn't work

This was caused by how keymap is guessing for importer/exporter:

- In some cases if detected wrong keymap like for IMPORT_CURVE_OT_svg
curve editing context was used because of CURVE_OT substring in
operator name
- In other cases no keymap was detected because of substrings
WM_keymap_guess_opname cheched.

Fixed by using Window keymap for any operator with EXPORT_/IMPORT_ substring
which seems to detect importer/exporter operator and only them nicely.

Commit Details:

Full Hash: 987dd552455e27b7296233f0ac569690c2e50e21
SVN Revision: 45683
Parent Commit: 4d1c799
Lines Changed: +4, -0

1 Modified Path:

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