Fix T38804: unnecessary empty space in the modifier UI.

This commit is contained in:
Brecht Van Lommel 2014-02-24 21:02:49 +01:00
parent a3202e434a
commit 97e9bb9488

@ -906,7 +906,7 @@ static uiLayout *draw_modifier(uiLayout *layout, Scene *scene, Object *ob,
uiButSetFlag(but, UI_BUT_DISABLED);
uiButSetFunc(but, modifiers_setOnCage, ob, md);
}
else if (modifier_supportsCage(scene, md)) {
else if (modifier_supportsCage(scene, md) && (index <= lastCageIndex)) {
uiBlockEndAlign(block);
/* place holder button */