Commit: 0a7382b2e332d5d3b65666004557e2ba4839f8e8
Author: Jeroen Bakker
Date:   Tue Mar 9 10:44:34 2021 +0100
Branches: compositor-cryptomatte-workflow
https://developer.blender.org/rB0a7382b2e332d5d3b65666004557e2ba4839f8e8

Updated UI

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

M       source/blender/editors/space_node/drawnode.c

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

diff --git a/source/blender/editors/space_node/drawnode.c 
b/source/blender/editors/space_node/drawnode.c
index e14295de9b3..7eefd050cdf 100644
--- a/source/blender/editors/space_node/drawnode.c
+++ b/source/blender/editors/space_node/drawnode.c
@@ -2669,10 +2669,10 @@ static void node_composit_buts_cryptomatte(uiLayout 
*layout, bContext *C, Pointe
 {
   bNode *node = ptr->data;
 
-  uiLayout *col = uiLayoutColumn(layout, true);
-  uiItemR(col, ptr, "source", 0, NULL, ICON_NONE);
+  uiLayout *row = uiLayoutRow(layout, true);
+  uiItemR(row, ptr, "source", DEFAULT_FLAGS | UI_ITEM_R_EXPAND, NULL, 
ICON_NONE);
 
-  col = uiLayoutColumn(layout, true);
+  uiLayout *col = uiLayoutColumn(layout, false);
   if (node->custom1 == CMP_CRYPTOMATTE_SRC_RENDER) {
     uiTemplateID(col, C, ptr, "scene", NULL, NULL, NULL, 
UI_TEMPLATE_ID_FILTER_ALL, false, NULL);
   }
@@ -2695,7 +2695,7 @@ static void node_composit_buts_cryptomatte(uiLayout 
*layout, bContext *C, Pointe
   uiItemR(col, ptr, "layer_name", 0, "", ICON_NONE);
   uiItemL(col, IFACE_("Matte ID:"), ICON_NONE);
 
-  uiLayout *row = uiLayoutRow(col, true);
+  row = uiLayoutRow(col, true);
   uiItemR(row, ptr, "matte_id", DEFAULT_FLAGS, "", ICON_NONE);
   uiTemplateCryptoPicker(row, ptr, "add", ICON_ADD);
   uiTemplateCryptoPicker(row, ptr, "remove", ICON_REMOVE);

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

Reply via email to