Blender Git Commits

Blender Git "pie-menus" branch commits.

Page: 5 / 8

July 7, 2014, 21:00 (GMT)
Merge branch 'master' into pie-menus
June 30, 2014, 17:57 (GMT)
Pie Menus:

Add code to force a certain pie menu to be in hold style interaction
mode always. This is useful for tap/hold operator/pie menus

Move operator enum operator in C, this allows us to fire it up
internally without resorting to operators.

Deleted python code for this since it's not used and it's really easy to
code. May do if scripters want though.
June 30, 2014, 15:49 (GMT)
Tweaks:

* Increase the animation timeout slightly
* Remove separator from shade menu.

Custom pies are really OK, but enums are somewhat problematic because
we don't have a way yet to explicitly set the ordering and positions
while expanding them. This is for immediate todo.
June 30, 2014, 15:19 (GMT)
Fix issue on X11 where fake keyrelease events can fire.

This could happen but was not too noticable before, however on pie menus
where holding a key and releasing is common, such double events could
fire the pie menu again or even call the tap operator on tap/hold
operator/pies, which was especially noticable on object mode selection.
June 30, 2014, 11:58 (GMT)
Merge branch 'master' into pie-menus
June 30, 2014, 01:49 (GMT)
Do not display pie menu items with embossing.
June 29, 2014, 22:26 (GMT)
Animated pie menus!

Nuff said :)
June 29, 2014, 19:11 (GMT)
Make the pie menu macro definition into a function.

Also set Z key as hybrid toggle/hold type menu.
To make this work, the macro definition must be set after python
initialization because we use operators defined in python (maybe it's
worth doing that for all macros?)
June 29, 2014, 18:05 (GMT)
Pies:

* Make position function simpler
* Fix some tooltips
June 27, 2014, 18:16 (GMT)
Fix blenderplayer compilation, fire timer for pie timeout in 100ths of
second.
June 27, 2014, 01:26 (GMT)
Pies:

* Add pretty icons to Q menu

* Add an operator to sculpt Q pie for testing.
June 27, 2014, 00:42 (GMT)
Pies:

* Modify timed pie macro with own timeout property.
* Times are now counted in 100ths of second, gives more needed
precision.
* Add whole event argument to pie creation so we can spawn at custom
initial position
* Escape key also exits pie menus now.
June 26, 2014, 23:24 (GMT)
Merge branch 'refs/heads/master' into pie-menus
June 24, 2014, 20:56 (GMT)
Proof of concept pie interaction:

Press for calling operator, hold to spawn pie menu.

Test on object mode operator, pressing TAB toggles to edit mode, keeping
TAB pressed more that the drag timeout spawns a pie menu.

Still needs a way to enforce the menu to not listen for further drag
timeouts but looks like the concept holds.

This is implemented using the previous operator,
WM_OT_call_pie_menu_timer, in a macro. When the calling button is
pressed too long, the operator is cancelled (thus cancelling the macro)
but spawning a pie menu before that. If the timeout is not reached and
a key release event is detected, the operator finishes and the macro
continues, calling the next operator instead (object mode set, in our
case).
June 24, 2014, 20:32 (GMT)
Fix minor issue, pie menu is set as cancelled only for hold/release
style menus.
June 24, 2014, 20:29 (GMT)
Experimental:

Add timer wm operator that spawns pie menus after a certain time.

For now this timeout is the same as the drag timeout, should probably be
a separate option
June 24, 2014, 19:27 (GMT)
Tweaks to the central pie menu widget:

Adopt a disc based design, also serves to better identify the threshold
value for a valid selection and is now fully themeable.
June 24, 2014, 17:22 (GMT)
Merge branch 'master' into pie-menus
June 20, 2014, 01:11 (GMT)
Fix recursive menus respawning on selection

Fix here is a bit hacky, we do not draw the menu and we simply await for
key release to stop the handler, or else the pie menu gets respawned
immediately.
June 20, 2014, 00:58 (GMT)
Allow recursive menus in pies.

By returning the handler function to the general menu recursive section.
we can handle any menus that exist in the pie pieces. For now the
drag/release style pies do not work very well with this (menu is
respawned as soon as we select something in the child menu) but I hope
this can be improved further.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021