Blender Git Commit Log

Git Commits -> Revision f157753

Revision f157753 by Bastien Montagne (master)
August 26, 2013, 15:43 (GMT)
Fix [#36308] Custom hotkey "Set Object Mode" - "Object Mode" doesn't work properly

There was actually two different issues:
* mode and toggle options had "remanant" values, when e.g. you used MODE_EDIT/toggle, these would be used again with the newly defined keymap (which sets eg MODE_OBJECT/notoggle)... Defining those props as PROP_SKIP_SAVE fixed this.

* Toggling was not supported for MODE_OBJECT, fixed this (can indeed be handy to have a shortcut to toggle between current mode and Object one ;) ).

Commit Details:

Full Hash: f157753120b0a0cce61f0f4a4f8a24c2cdd7642a
SVN Revision: 59530
Parent Commit: 1ff96dc
Lines Changed: +34, -19

1 Modified Path:

/source/blender/editors/object/object_edit.c (+34, -19) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021