Commit: 36ab737ef79b669973e7f37b9f48ec6e2135da73
Author: Kévin Dietrich
Date:   Sat Aug 20 09:30:38 2016 +0200
Branches: master
https://developer.blender.org/rB36ab737ef79b669973e7f37b9f48ec6e2135da73

Alembic export UI: avoid displaying empty box.

===================================================================

M       source/blender/editors/io/io_alembic.c

===================================================================

diff --git a/source/blender/editors/io/io_alembic.c 
b/source/blender/editors/io/io_alembic.c
index 96a3ef1..cd75983 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);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to