blender/release/scripts/startup/bl_ui
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
..
__init__.py use a dynamic enum for addons, annoyingly the enum was being generated from python for each of the addon buttons (~14 times per draw) which was noticeably slow, so disabling 'expand' for now. 2011-05-26 18:11:59 +00:00
properties_animviz.py fix for various python bugs and remove unused var. 2011-07-10 17:26:15 +00:00
properties_data_armature.py fix for various python bugs and remove unused var. 2011-07-10 17:26:15 +00:00
properties_data_bone.py fix [#26754] Live Edit and Editing UI scripts don't work 2011-04-04 10:13:04 +00:00
properties_data_camera.py camera composition guides: center, thirds, golden rule 2011-05-10 03:03:53 +00:00
properties_data_curve.py fix for various python bugs and remove unused var. 2011-07-10 17:26:15 +00:00
properties_data_empty.py svn merge -r38753:38813 https://svn.blender.org/svnroot/bf-blender/trunk/blender . 2011-07-29 07:58:03 +00:00
properties_data_lamp.py fix [#26754] Live Edit and Editing UI scripts don't work 2011-04-04 10:13:04 +00:00
properties_data_lattice.py fix [#26754] Live Edit and Editing UI scripts don't work 2011-04-04 10:13:04 +00:00
properties_data_mesh.py fix for python error when pinning a non mesh object in mesh editmode. 2011-07-03 07:21:33 +00:00
properties_data_metaball.py pep8 compliance 2011-06-21 17:17:51 +00:00
properties_data_modifier.py svn merge -r38753:38813 https://svn.blender.org/svnroot/bf-blender/trunk/blender . 2011-07-29 07:58:03 +00:00
properties_game.py Related to bug #27004: there is now an option to disable color management for 2011-05-02 09:08:43 +00:00
properties_material.py Patch by oenvoyage - olivier amrein, thanks a lot! 2011-08-02 18:56:03 +00:00
properties_object_constraint.py pep8 compliance 2011-06-21 17:17:51 +00:00
properties_object.py fix for various python bugs and remove unused var. 2011-07-10 17:26:15 +00:00
properties_particle.py minor pep8 edits 2011-07-01 12:33:34 +00:00
properties_physics_cloth.py =trunk= 2011-05-01 21:39:13 +00:00
properties_physics_common.py py api: bpy.data.is_dirty wasn't working like image is dirty, instead is would return if the file was saved or not. 2011-04-11 15:31:05 +00:00
properties_physics_field.py fix [#26754] Live Edit and Editing UI scripts don't work 2011-04-04 10:13:04 +00:00
properties_physics_fluid.py Elbeem / Fluidsim update: 2011-06-12 23:51:30 +00:00
properties_physics_smoke.py fix [#26754] Live Edit and Editing UI scripts don't work 2011-04-04 10:13:04 +00:00
properties_physics_softbody.py fix [#26754] Live Edit and Editing UI scripts don't work 2011-04-04 10:13:04 +00:00
properties_render.py Current situation 2011-07-04 18:14:41 +00:00
properties_scene.py fix [#26754] Live Edit and Editing UI scripts don't work 2011-04-04 10:13:04 +00:00
properties_texture.py Fix python error in image sampling panel drawing when 2011-07-13 18:07:30 +00:00
properties_world.py svn merge -r38753:38813 https://svn.blender.org/svnroot/bf-blender/trunk/blender . 2011-07-29 07:58:03 +00:00
space_console.py fix [#26754] Live Edit and Editing UI scripts don't work 2011-04-04 10:13:04 +00:00
space_dopesheet.py quiet warning & minor pep8 edits. 2011-04-04 22:42:43 +00:00
space_filebrowser.py fix [#26754] Live Edit and Editing UI scripts don't work 2011-04-04 10:13:04 +00:00
space_graph.py fix [#26754] Live Edit and Editing UI scripts don't work 2011-04-04 10:13:04 +00:00
space_image.py svn merge -r38558:38752 https://svn.blender.org/svnroot/bf-blender/trunk/blender . 2011-07-27 07:42:53 +00:00
space_info.py svn merge -r38753:38813 https://svn.blender.org/svnroot/bf-blender/trunk/blender . 2011-07-29 07:58:03 +00:00
space_logic.py fix [#26754] Live Edit and Editing UI scripts don't work 2011-04-04 10:13:04 +00:00
space_nla.py minor pep8 edits, also added 'test_pep8' & 'test_cmake' to the GNUmakefile for convenience. 2011-04-10 10:45:56 +00:00
space_node.py svn merge -r38753:38813 https://svn.blender.org/svnroot/bf-blender/trunk/blender . 2011-07-29 07:58:03 +00:00
space_outliner.py fix [#26754] Live Edit and Editing UI scripts don't work 2011-04-04 10:13:04 +00:00
space_sequencer.py Since scene sequence strips use the 'use_sequencer' setting, make it available in the sequencer panel. 2011-06-13 21:35:24 +00:00
space_text.py svn merge -r38558:38752 https://svn.blender.org/svnroot/bf-blender/trunk/blender . 2011-07-27 07:42:53 +00:00
space_time.py fix [#26754] Live Edit and Editing UI scripts don't work 2011-04-04 10:13:04 +00:00
space_userpref_keymap.py KEYMAP REFACTORING 2011-08-05 20:45:26 +00:00
space_userpref.py move the ndof menu into the userpref's since it adjusts preferences, also renamed VIEW3D_MT_ndof_settings -> USERPREF_MT_ndof_settings since it has no view3d specific settings. 2011-08-05 14:53:13 +00:00
space_view3d_toolbar.py get a tad more vertical space in the toolbar. 2011-08-05 09:04:11 +00:00
space_view3d.py move the ndof menu into the userpref's since it adjusts preferences, also renamed VIEW3D_MT_ndof_settings -> USERPREF_MT_ndof_settings since it has no view3d specific settings. 2011-08-05 14:53:13 +00:00