Fix T95097: Attribute Capture node UI inconsistency

All other nodes with data type and domain choices have the domain
below the data type. Generally that order makes sense, because it's
consistent with nodes that have no domain drop-down.
This commit is contained in:
Hans Goudey 2022-01-21 16:08:21 -06:00
parent 1c23a06706
commit 294ab84909
Notes: blender-bot 2023-02-13 22:37:44 +01:00
Referenced by issue #95097, GUI inconsistency, capture attribute node
1 changed files with 1 additions and 1 deletions

View File

@ -48,8 +48,8 @@ static void node_layout(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
{
uiLayoutSetPropSep(layout, true);
uiLayoutSetPropDecorate(layout, false);
uiItemR(layout, ptr, "domain", 0, "", ICON_NONE);
uiItemR(layout, ptr, "data_type", 0, "", ICON_NONE);
uiItemR(layout, ptr, "domain", 0, "", ICON_NONE);
}
static void node_init(bNodeTree *UNUSED(tree), bNode *node)