Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Dietrich <kevin.dietrich@mailoo.org>2016-08-20 10:30:38 +0300
committerKévin Dietrich <kevin.dietrich@mailoo.org>2016-08-20 10:30:38 +0300
commit36ab737ef79b669973e7f37b9f48ec6e2135da73 (patch)
tree5a2a4e260c89be69bc97e04de8da7b8ddf6acb66 /source/blender/editors/io
parentcf533894253f3ddd5067107725ae840bebad3fc2 (diff)
Alembic export UI: avoid displaying empty box.
Diffstat (limited to 'source/blender/editors/io')
-rw-r--r--source/blender/editors/io/io_alembic.c3
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);