diff options
author | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2016-08-20 10:30:38 +0300 |
---|---|---|
committer | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2016-08-20 10:30:38 +0300 |
commit | 36ab737ef79b669973e7f37b9f48ec6e2135da73 (patch) | |
tree | 5a2a4e260c89be69bc97e04de8da7b8ddf6acb66 /source | |
parent | cf533894253f3ddd5067107725ae840bebad3fc2 (diff) |
Alembic export UI: avoid displaying empty box.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/io/io_alembic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/io/io_alembic.c b/source/blender/editors/io/io_alembic.c index 96a3ef1f2f6..cd75983e0a0 100644 --- a/source/blender/editors/io/io_alembic.c +++ b/source/blender/editors/io/io_alembic.c @@ -132,10 +132,11 @@ static int wm_alembic_export_exec(bContext *C, wmOperator *op) static void ui_alembic_export_settings(uiLayout *layout, PointerRNA *imfptr) { - uiLayout *box = uiLayoutBox(layout); + uiLayout *box; uiLayout *row; #ifdef WITH_ALEMBIC_HDF5 + box = uiLayoutBox(layout); row = uiLayoutRow(box, false); uiItemL(row, IFACE_("Archive Options:"), ICON_NONE); |