Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-27Code cleanup: use booleans where appropriateCampbell Barton
2014-01-23Fix T38042: Keymap crash after reloading operatorsCampbell Barton
After some investigation with mont29, seems like the best way to ensure keymaps point to valid operators is using WM_keyconfig_update().
2013-10-15Fix [#37077] User prefs > Input and Outliner Keymaps mismatch in representation.Bastien Montagne
Remove KeyMap mode from outliner, was an old half-finished features redondant with user preferences settings... Also moved key map item's "event type to map type" and map type defines at WM level, this is too much generic to be at RNA level. Also added a check in versionning code to convert all outdated outliner modes to a valid one (seems old 'verse' ones were not handled as well). Thanks to Brecht for reviews and advices!
2013-10-13code cleanup: utility function for getting a bool as a string.Campbell Barton
2013-09-27replace ints with bools for keymap functions.Campbell Barton
2013-09-27rna: implementing function to remove keymap from keyconfigDalai Felinto
Thanks Campbell Barton for reviewing.
2013-05-11Fix #35262: assiging shortcuts from e.g. delete or selection mode menus did notBrecht Van Lommel
work anymore. This was due to a bugfix to show missing shortcut keys for e.g. the mesh > vertices > separate menu. Both should work now.
2013-05-07Fix OS X 32 bit build error, and bring buildbot config in sync with default.Brecht Van Lommel
2013-04-04code cleanup: use bools in interface handlers, dont show translation menu ↵Campbell Barton
when right clicking on splash, use less confusing args for copy/paste function.
2013-02-14fix (for one case of...) [#33949] T_ALT_TRANSFORM conflicts with "emulate 3 ↵Campbell Barton
button mouse" ShrinkFatten operator now uses scale key to toggle 'Even thickness' option. With the default keymap this is Alt+S,S. Added functionality so the header print can get the key used for the modal keymap, some other operators should make use of this too.
2012-11-02all remove functions now invalidate the RNA objects passed, to help script ↵Campbell Barton
authors to avoid bugs with accessing removed data.
2012-09-04fix for building on msvc2008 (also style cleanup)Campbell Barton
2012-04-17Fix #30977: error loading modal keymaps from keyconfiguration presets.Brecht Van Lommel
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2011-11-14fix [#29242] menus have no keyboard shortcutsCampbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-08-06KEYMAP REFACTORINGBrecht Van Lommel
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.