Custom shortcut from 2.65 does not work in 2.67

Hi,

I created a custom shortcut for “element to snap to” (increment, edge, face, volume, vertex).
I imported the key configuration from the version 2.65 into 2.67 and it does not work. I’ve googled how to create custom shortcuts / hotkeys and it seems (when I point at the option) that the python code for this option changed but I don’t what to write into the settings of the custom shortcut to make it work again. I tried many combinations but none of them worked.

Thanks.

Pull the line just under the top header. A new grey area will appear on top of the window. Here Blender tells you what it does… in Python style.


From there, with a few comparisons with other shortcuts, you should find your way. Here, we’re going to 3D View --> Mesh. Create a new shortcut.

First (and only) text box: wm.context_set_value

Context Attribute: tool_settings.snap_element

Value: ‘INCREMENT’, ‘VERTEX’, ‘EDGE’, ‘FACE’, ‘VOLUME’
(One of them, ALL CAPS and with the single quotes around!)

I just tested with Blender 2.67.1 (r56970). It works… :eyebrowlift:

Thank you! Thank you! Thank you! Thank you! :yes: