diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c index a342b9be033..4d0c4ad863c 100644 --- a/source/blender/editors/interface/interface_layout.c +++ b/source/blender/editors/interface/interface_layout.c @@ -923,7 +923,17 @@ void uiItemsFullEnumO( target = uiLayoutColumn(split, layout->align); } - if (radial) { + if (0 && radial) { + /* XXX Disabled as temporary workaround! + * + * Normally, we always draw a button for all items even if they're unavailable (we draw invisible + * dummy buttons then), so items are always at the same position. This causes issues with current + * 'Object Mode' pie since more than 8 modes exist now (see T46973). + * Disabling this until more than 8 items per pie are supported (or a better solution is found). + * We should work on that ASAP though. + * + * - Julian (Dec 2015) + */ RNA_property_enum_items_gettexted_all(block->evil_C, &ptr, prop, &item_array, NULL, &free); } else { @@ -973,6 +983,7 @@ void uiItemsFullEnumO( } else { if (radial) { + /* invisible dummy button to ensure all items are always at the same position */ uiItemS(target); } else {