Go to file
Brecht Van Lommel e6e4c7ef8b KEYMAP REFACTORING
Diff Keymaps

User edited keymaps now no longer override the builtin keymaps entirely, but
rather save only the difference and reapply those changes. This means they can
stay better in sync when the builtin keymaps change. The diff/patch algorithm
is not perfect, but better for the common case where only a few items are changed
rather than entire keymaps The main weakness is that if a builtin keymap item
changes, user modification of that item may need to be redone in some cases.

Keymap Editor

The most noticeable change here is that there is no longer an "Edit" button for
keymaps, all are editable immediately, but a "Restore" buttons shows for keymaps
and items that have been edited. Shortcuts for addons can also be edited in the
keymap editor. 

Addons

Addons now should only modify the new addon keyconfiguration, the keymap items
there will be added to the builtin ones for handling events, and not get lost
when starting new files. Example code of register/unregister:

km = wm.keyconfigs.addon.keymaps.new("3D View", space_type="VIEW_3D")
km.keymap_items.new('my.operator', 'ESC', 'PRESS')

km = wm.keyconfigs.addon.keymaps["3D View"]
km.keymap_items.remove(km.keymap_items["my.operator"])

Compatibility

The changes made are not forward compatible, i.e. if you save user preferences
with newer versions, older versions will not have key configuration changes that
were made.
2011-08-05 20:45:26 +00:00
build_files Messed up char was causing problems on windows even though it was in the 2011-08-05 19:55:36 +00:00
doc rst API doc fixes: literalincluding bge.texture and bge.constraints examples + bgl fixes 2011-08-04 09:47:40 +00:00
extern cmake: cleanup include paths, some duplicates and going up some unneeded dirs. 2011-07-17 09:11:13 +00:00
intern fix for GHOST/SDL key input with uppercase keys. 2011-08-05 17:39:44 +00:00
release KEYMAP REFACTORING 2011-08-05 20:45:26 +00:00
source KEYMAP REFACTORING 2011-08-05 20:45:26 +00:00
CMakeLists.txt enable NDOF by default with cmake again, but check if it can be found on OSX, if not disable. 2011-08-03 14:18:02 +00:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile patch [#28031] Minor typo in Blenlib 2011-07-20 06:05:47 +00:00
SConstruct patch from jensverwiebe to disable ndof if header is not found. 2011-08-04 08:46:17 +00:00