Blender Git Commit Log

Git Commits -> Revision 3ebd586

Revision 3ebd586 by Brecht Van Lommel (master)
October 8, 2009, 18:40 (GMT)
Key Configuration

Keymaps are now saveable and configurable from the user preferences, note
that editing one item in a keymap means the whole keymap is now defined by
the user and will not be updated by Blender, an option for syncing might be
added later. The outliner interface is still there, but I will probably
remove it.

There's actually 3 levels now:

* Default builtin key configuration.
* Key configuration loaded from .py file, for configs like Blender 2.4x
or other 3D applications.
* Keymaps edited by the user and saved in .B.blend. These can be saved
to .py files as well to make creating distributable configurations
easier.

Also, user preferences sections were reorganized a bit, now there is:
Interface, Editing, Input, Files and System.


Implementation notes:
* wmKeyConfig was added which represents a key configuration containing
keymaps.
* wmKeymapItem was renamed to wmKeyMapItem for consistency with wmKeyMap.
* Modal maps are not wrapped yet.
* User preferences DNA file reading did not support newdataadr() yet,
added this now for reading keymaps.
* Key configuration related settings are now RNA wrapped.
* is_property_set and is_property_hidden python methods were added.

Commit Details:

Full Hash: 3ebd58673fb9a8c5ef13048b2e8e8a4cb7bb3a4e
SVN Revision: 23723
Parent Commit: e0c5e48
Lines Changed: +1764, -639

108 Modified Paths:

/release/scripts/ui/space_userpref.py (+328, -39) (Diff)
/source/blender/blenkernel/BKE_screen.h (+3, -2) (Diff)
/source/blender/blenkernel/intern/blender.c (+17, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+60, -36) (Diff)
/source/blender/blenloader/intern/writefile.c (+13, -3) (Diff)
/source/blender/editors/animation/anim_channels_edit.c (+2, -2) (Diff)
/source/blender/editors/animation/anim_markers.c (+2, -2) (Diff)
/source/blender/editors/animation/anim_ops.c (+2, -2) (Diff)
/source/blender/editors/armature/armature_ops.c (+4, -4) (Diff)
/source/blender/editors/curve/curve_ops.c (+3, -3) (Diff)
/source/blender/editors/gpencil/gpencil_ops.c (+3, -3) (Diff)
/source/blender/editors/include/ED_anim_api.h (+3, -3) (Diff)
/source/blender/editors/include/ED_armature.h (+2, -2) (Diff)
/source/blender/editors/include/ED_curve.h (+2, -2) (Diff)
/source/blender/editors/include/ED_gpencil.h (+2, -2) (Diff)
/source/blender/editors/include/ED_markers.h (+2, -2) (Diff)
/source/blender/editors/include/ED_mball.h (+2, -2) (Diff)
/source/blender/editors/include/ED_mesh.h (+3, -2) (Diff)
/source/blender/editors/include/ED_object.h (+2, -2) (Diff)
/source/blender/editors/include/ED_particle.h (+1, -1) (Diff)
/source/blender/editors/include/ED_physics.h (+3, -1) (Diff)
/source/blender/editors/include/ED_screen.h (+3, -2) (Diff)
/source/blender/editors/include/ED_sculpt.h (+2, -2) (Diff)
/source/blender/editors/include/ED_transform.h (+2, -1) (Diff)
/source/blender/editors/include/ED_uvedit.h (+2, -2) (Diff)
/source/blender/editors/include/UI_interface.h (+3, -0) (Diff)
/source/blender/editors/include/UI_view2d.h (+2, -2) (Diff)
/source/blender/editors/interface/interface.c (+7, -4) (Diff)
/source/blender/editors/interface/interface_handlers.c (+12, -4) (Diff)
/source/blender/editors/interface/interface_layout.c (+33, -5) (Diff)
/source/blender/editors/interface/interface_utils.c (+3, -1) (Diff)
/source/blender/editors/interface/view2d_ops.c (+3, -3) (Diff)
/source/blender/editors/mesh/editmesh_mods.c (+23, -25) (Diff)
/source/blender/editors/mesh/mesh_ops.c (+3, -3) (Diff)
/source/blender/editors/metaball/mball_ops.c (+2, -2) (Diff)
/source/blender/editors/object/object_ops.c (+5, -5) (Diff)
/source/blender/editors/physics/physics_ops.c (+5, -5) (Diff)
/source/blender/editors/screen/area.c (+6, -6) (Diff)
/source/blender/editors/screen/screen_ops.c (+9, -9) (Diff)
/source/blender/editors/sculpt_paint/paint_ops.c (+5, -5) (Diff)
/source/blender/editors/space_action/action_intern.h (+1, -1) (Diff)
/source/blender/editors/space_action/action_ops.c (+6, -6) (Diff)
/source/blender/editors/space_action/space_action.c (+2, -2) (Diff)
/source/blender/editors/space_api/spacetypes.c (+19, -19) (Diff)
/source/blender/editors/space_buttons/space_buttons.c (+3, -3) (Diff)
/source/blender/editors/space_console/space_console.c (+3, -3) (Diff)
/source/blender/editors/space_file/filelist.c (+1, -1) (Diff)
/source/blender/editors/space_file/filesel.c (+22, -10) (Diff)
/source/blender/editors/space_file/file_panels.c (+4, -8) (Diff)
/source/blender/editors/space_file/space_file.c (+10, -10) (Diff)
/source/blender/editors/space_graph/graph_intern.h (+1, -1) (Diff)
/source/blender/editors/space_graph/graph_ops.c (+7, -7) (Diff)
/source/blender/editors/space_graph/space_graph.c (+5, -5) (Diff)
/source/blender/editors/space_image/space_image.c (+8, -8) (Diff)
/source/blender/editors/space_info/space_info.c (+1, -1) (Diff)
/source/blender/editors/space_logic/space_logic.c (+4, -4) (Diff)
/source/blender/editors/space_nla/nla_intern.h (+1, -1) (Diff)
/source/blender/editors/space_nla/nla_ops.c (+10, -10) (Diff)
/source/blender/editors/space_nla/space_nla.c (+5, -5) (Diff)
/source/blender/editors/space_node/node_intern.h (+1, -1) (Diff)
/source/blender/editors/space_node/node_ops.c (+4, -4) (Diff)
/source/blender/editors/space_node/space_node.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner.c (+13, -15) (Diff)
/source/blender/editors/space_outliner/outliner_intern.h (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner_ops.c (+2, -2) (Diff)
/source/blender/editors/space_outliner/space_outliner.c (+1, -1) (Diff)
/source/blender/editors/space_script/script_intern.h (+1, -1) (Diff)
/source/blender/editors/space_script/script_ops.c (+2, -2) (Diff)
/source/blender/editors/space_script/space_script.c (+1, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_intern.h (+3, -2) (Diff)
/source/blender/editors/space_sequencer/sequencer_ops.c (+4, -4) (Diff)
/source/blender/editors/space_sequencer/space_sequencer.c (+1, -1) (Diff)
/source/blender/editors/space_sound/space_sound.c (+2, -2) (Diff)
/source/blender/editors/space_text/space_text.c (+3, -3) (Diff)
/source/blender/editors/space_time/space_time.c (+1, -1) (Diff)
/source/blender/editors/space_time/time_intern.h (+1, -1) (Diff)
/source/blender/editors/space_time/time_ops.c (+2, -2) (Diff)
/source/blender/editors/space_userpref/space_userpref.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+21, -21) (Diff)
/source/blender/editors/space_view3d/view3d_edit.c (+9, -9) (Diff)
/source/blender/editors/space_view3d/view3d_intern.h (+5, -5) (Diff)
/source/blender/editors/space_view3d/view3d_ops.c (+9, -9) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+3, -3) (Diff)
/source/blender/editors/transform/transform.c (+3, -3) (Diff)
/source/blender/editors/transform/transform.h (+1, -1) (Diff)
/source/blender/editors/transform/transform_ops.c (+3, -3) (Diff)
/source/blender/editors/uvedit/uvedit_ops.c (+3, -3) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+10, -0) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+46, -19) (Diff)
/source/blender/makesrna/intern/rna_access.c (+4, -1) (Diff)
/source/blender/makesrna/intern/rna_define.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+5, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+48, -46) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+374, -9) (Diff)
/source/blender/makesrna/intern/rna_wm_api.c (+71, -3) (Diff)
/source/blender/makesrna/RNA_access.h (+21, -9) (Diff)
/source/blender/makesrna/RNA_types.h (+3, -0) (Diff)
/source/blender/python/intern/bpy_rna.c (+29, -2) (Diff)
/source/blender/windowmanager/intern/wm.c (+17, -19) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+9, -8) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+253, -73) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+28, -15) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+4, -4) (Diff)
/source/blender/windowmanager/wm.h (+1, -1) (Diff)
/source/blender/windowmanager/WM_api.h (+23, -15) (Diff)
/source/blender/windowmanager/wm_event_system.h (+0, -1) (Diff)
/source/blender/windowmanager/wm_event_types.h (+10, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021