Nodes: UI: Center Define Signature in Bundle nodes

Center "Define Signature" in Combine/Separate Bundle nodes,
to match others.

Pull Request: https://projects.blender.org/blender/blender/pulls/147222
This commit is contained in:
Pablo Vazquez
2025-10-02 17:50:06 +02:00
committed by Pablo Vazquez
parent be61366801
commit 28280aaeeb
2 changed files with 6 additions and 0 deletions

View File

@@ -94,6 +94,9 @@ static void node_layout_ex(uiLayout *layout, bContext *C, PointerRNA *node_ptr)
bNodeTree &ntree = *reinterpret_cast<bNodeTree *>(node_ptr->owner_id);
bNode &node = *static_cast<bNode *>(node_ptr->data);
layout->use_property_split_set(true);
layout->use_property_decorate_set(false);
layout->op("node.sockets_sync", "Sync", ICON_FILE_REFRESH);
layout->prop(node_ptr, "define_signature", UI_ITEM_NONE, std::nullopt, ICON_NONE);
if (uiLayout *panel = layout->panel(C, "bundle_items", false, TIP_("Bundle Items"))) {

View File

@@ -98,6 +98,9 @@ static void node_layout_ex(uiLayout *layout, bContext *C, PointerRNA *node_ptr)
bNodeTree &ntree = *reinterpret_cast<bNodeTree *>(node_ptr->owner_id);
bNode &node = *static_cast<bNode *>(node_ptr->data);
layout->use_property_split_set(true);
layout->use_property_decorate_set(false);
layout->op("node.sockets_sync", "Sync", ICON_FILE_REFRESH);
layout->prop(node_ptr, "define_signature", UI_ITEM_NONE, std::nullopt, ICON_NONE);
if (uiLayout *panel = layout->panel(C, "bundle_items", false, TIP_("Bundle Items"))) {