diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-09-14 20:45:24 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-09-14 20:45:24 +0400 |
commit | 8d0c01e6e27caf4e1c28e838b9d0d7efad9b0ed2 (patch) | |
tree | a3777ef18b1714165a0546c0121eec4addf97ad4 /release/scripts/ui/space_userpref.py | |
parent | ce98d6ae17abbc7322d8f41bbdecc4dcba04c6b9 (diff) |
keyconfig updates/changes
- use preset subclass with funcs for updating the keyconfig
- keyconfig filenames are used for the UI names as with presets (so separation anymore)
- keyconfig's are stored in the preset dir (scripts/cfg dir removed)
- only the active keyconfig script is loaded
- some bugfixes for saving keymaps
- user interactions no longer saves keyconfigs too, I think this needs to be re-worked.
developer note...
multiple keyconfigs at once are not really needed now that they are stored & accessed directly in python.
for now I left it alone but we could consider to remove this capability in the future.
Diffstat (limited to 'release/scripts/ui/space_userpref.py')
-rw-r--r-- | release/scripts/ui/space_userpref.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/ui/space_userpref.py b/release/scripts/ui/space_userpref.py index 5cb760790df..03e1b41ad32 100644 --- a/release/scripts/ui/space_userpref.py +++ b/release/scripts/ui/space_userpref.py @@ -725,6 +725,7 @@ class USERPREF_PT_input(InputKeyMapPanel): sub = col.column() sub.label(text="Presets:") subrow = sub.row(align=True) + subrow.menu("USERPREF_MT_interaction_presets", text=bpy.types.USERPREF_MT_interaction_presets.bl_label) subrow.operator("wm.interaction_preset_add", text="", icon='ZOOMIN') subrow.operator("wm.interaction_preset_add", text="", icon='ZOOMOUT').remove_active = True |