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
Notes: blender-bot 2023-04-04 07:45:26 +02:00
Referenced by issue #38804, Empty space in UI
1 changed files with 1 additions and 1 deletions

View File

@ -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 */