[Bf-blender-cvs] [2d19d141f6b] usd-importer-T81257-merge: USD import options Experimental header alignment

makowalski noreply at git.blender.org
Sun Jul 25 23:02:02 CEST 2021


Commit: 2d19d141f6b173c67b8b83b5c9b24967a7b14e8e
Author: makowalski
Date:   Sun Jul 25 16:49:41 2021 -0400
Branches: usd-importer-T81257-merge
https://developer.blender.org/rB2d19d141f6b173c67b8b83b5c9b24967a7b14e8e

USD import options Experimental header alignment

Fixed alignment of the Experimental column header
to be consistent with the other options headers.

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

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

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

diff --git a/source/blender/editors/io/io_usd.c b/source/blender/editors/io/io_usd.c
index 2dfcc0e2daf..26eabd0bc90 100644
--- a/source/blender/editors/io/io_usd.c
+++ b/source/blender/editors/io/io_usd.c
@@ -402,8 +402,7 @@ static void wm_usd_import_draw(bContext *UNUSED(C), wmOperator *op)
 
   if (RNA_boolean_get(ptr, "import_materials")) {
     box = uiLayoutBox(layout);
-    uiItemL(box, IFACE_("Experimental"), ICON_NONE);
-    col = uiLayoutColumn(box, true);
+    col = uiLayoutColumnWithHeading(box, true, IFACE_("Experimental"));
     uiItemR(col, ptr, "import_usd_preview", 0, NULL, ICON_NONE);
     if (RNA_boolean_get(ptr, "import_usd_preview")) {
       uiItemR(col, ptr, "set_material_blend", 0, NULL, ICON_NONE);



More information about the Bf-blender-cvs mailing list