Fix Drawing nested box layouts (D2508)

This commit is contained in:
Aleksandr Zinovev 2017-02-21 21:02:56 +03:00
parent 4e9b17da4c
commit 3622074bf7
1 changed files with 0 additions and 2 deletions

View File

@ -3134,8 +3134,6 @@ static void ui_item_align(uiLayout *litem, short nr)
else if (item->type == ITEM_LAYOUT_BOX) {
box = (uiLayoutItemBx *)item;
box->roundbox->alignnr = nr;
BLI_remlink(&litem->root->block->buttons, box->roundbox);
BLI_addhead(&litem->root->block->buttons, box->roundbox);
}
else if (((uiLayout *)item)->align) {
ui_item_align((uiLayout *)item, nr);