Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2014-08-14 16:17:39 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-08-14 16:17:39 +0400
commitb42b0554eae0e89b737ec55d642d0fc831b954d1 (patch)
tree89eef06fb017ed2adf04a09bd3011168794161e4 /source/blender/editors/interface/interface_layout.c
parent8e30db0f674d7dec11eb7479abd69bb64cc7cfd3 (diff)
Pie menus:
If user drags away from initial position, menu changes to drag style and returning to that position won't remake the menu click-style. Allows to use the threshold indicator to cancel the pie.
Diffstat (limited to 'source/blender/editors/interface/interface_layout.c')
-rw-r--r--source/blender/editors/interface/interface_layout.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c
index ac9110873ff..27af550b173 100644
--- a/source/blender/editors/interface/interface_layout.c
+++ b/source/blender/editors/interface/interface_layout.c
@@ -2171,9 +2171,6 @@ static void ui_litem_layout_radial(uiLayout *litem)
if (totitems < 5)
litem->root->block->pie_data.flags |= UI_PIE_DEGREES_RANGE_LARGE;
- if (totitems == 3)
- litem->root->block->pie_data.flags |= UI_PIE_3_ITEMS;
-
for (item = litem->items.first; item; item = item->next) {
/* not all button types are drawn in a radial menu, do filtering here */
if (ui_item_is_radial_displayable(item)) {