From 36ab737ef79b669973e7f37b9f48ec6e2135da73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dietrich?= Date: Sat, 20 Aug 2016 09:30:38 +0200 Subject: Alembic export UI: avoid displaying empty box. --- source/blender/editors/io/io_alembic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/editors/io') 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); -- cgit v1.2.3