Blender Git Commit Log

Git Commits -> Revision 9fcc1a3

Revision 9fcc1a3 by Antonis Ryakiotakis (master)
October 13, 2014, 12:35 (GMT)
Pie menus: Confirm threshold

This commit adds a confirm threshold property to pie menus.

Basically, this will confirm the pie menu automatically when
the distance from the center of the pie exceeds that threshold without
a need to release the pie button.

The confirm threshold will only work if it is larger than the pie
threshold.

The confirmation actually occur when the mouse stops moving, to
allow multiple pie menus to be better linked together, (see below)

This functionality also facilitates the ability for chained pie menus by
dragging. Basically, a pie menu item can be a call_menu_pie operator and
the new pie menu will still use the original pie menu release event for
confirmation. This should allow for quick, gesture based navigation in
pie menu hierarchies (going back in the hierarchy is still not supported
though)

There will be a demonstration pie in the official add-on soon

Commit Details:

Full Hash: 9fcc1a32df1377d22b950854fabc7af53a67b813
Parent Commit: 116439e
Lines Changed: +132, -49

11 Modified Paths:

/release/scripts/modules/bpy_types.py (+5, -4) (Diff)
/release/scripts/startup/bl_ui/space_userpref.py (+1, -0) (Diff)
/source/blender/editors/interface/interface.c (+0, -4) (Diff)
/source/blender/editors/interface/interface_handlers.c (+64, -24) (Diff)
/source/blender/editors/interface/interface_intern.h (+5, -3) (Diff)
/source/blender/editors/interface/interface_regions.c (+29, -7) (Diff)
/source/blender/editors/interface/interface_widgets.c (+6, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+2, -1) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+7, -6) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+4, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+9, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021