Blender Git Loki

Blender Git "pie-menus" branch commits.

Page: 7 / 8

June 3, 2014, 16:27 (GMT)
Solve pie menu selection not refreshing properly sometimes.

Reason here is that double press events could get chewed on handler
level. The issue Added an extra flag to hanldlers so that we can choose
to handle if we want.

Also cleanup debug messages
June 3, 2014, 14:05 (GMT)
Some cleanup, refresh pie direction and drawing on the same events that
fired the pie menu, also some debug prints. Note, this is not ideal,
normally we want to just ignore those events, will look into that later.
June 2, 2014, 21:40 (GMT)
minor refactoring and all pie operators return finished.
June 2, 2014, 20:57 (GMT)
Set the area rectangle to the whole screen area that spawned the pie
menu.

This means menus are now clipped correctly and their events are handled
in the whole area too, not only inside the bounding box of the buttons.
May 30, 2014, 22:34 (GMT)
Cancel the pie menu when releasing without a valid item selected.
May 30, 2014, 22:19 (GMT)
For ease of testing, move object mode switch pie to be active across all
modes. Also modify custom python example pie and put it to Q key, sculpt mode.
May 30, 2014, 21:51 (GMT)
* Slight change on widget_box
* Pie menu operators return 'finished' to avoid evoking other operators
(maybe should be added to regular popup menus too?)
May 30, 2014, 21:43 (GMT)
UI changes:

* Central widget does not depend on width of menu text.
* Menu name hovers above the central widget.
May 30, 2014, 21:36 (GMT)
Add generic python operator that spawns a pie menu for a specific
operator enum.
May 30, 2014, 17:07 (GMT)
Slightly offset the angles of diagonal pie menu items. Gives a more even
result. There may be a more accurate formula here but that works well
enough for now.
May 30, 2014, 16:47 (GMT)
Press and release style interaction for pie menus

works by sending enter press and enter release events. May be somewhat
hacky but it should work.

+ minor cleanup.
May 30, 2014, 13:17 (GMT)
Merge branch 'master' into pie-menus
May 27, 2014, 14:53 (GMT)
fix blenderplayer compilation
May 26, 2014, 21:31 (GMT)
Nice little widget indicator influenced from pie menu add-on
May 26, 2014, 21:03 (GMT)
Pies:

* More display code
* Add collision detection in one more place, now object mode pie
collision works correctly.
* Changed object mode pie shortcut to TAB
May 26, 2014, 17:30 (GMT)
Refresh the pie area always on mousemove
May 26, 2014, 16:53 (GMT)
Angle range based collision detection on pie menu radial items. Also
some code to draw a central widget as well.
May 25, 2014, 22:32 (GMT)
Detect intersection of buttons with big segment from center of pie menu.

This already starts feeling like a pie menu. A better model for
intersection might be to store a direction for the pie menu widgets and
check if cursor is within the designated angle.

Also python menus don't work too well yet.
May 25, 2014, 21:08 (GMT)
Do not align pie menu item text on the left. Also some minor cleanup
May 25, 2014, 16:47 (GMT)
Merge branch 'master' into pie-menus
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021