Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/startup/bl_ui/space_node.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_node.py b/release/scripts/startup/bl_ui/space_node.py
index cc673a8bc39..e105b07ec53 100644
--- a/release/scripts/startup/bl_ui/space_node.py
+++ b/release/scripts/startup/bl_ui/space_node.py
@@ -797,8 +797,10 @@ class NodeTreeInterfacePanel:
active_socket.bl_socket_idname.startswith(prefix)
for prefix in field_socket_prefixes
)
- if in_out == 'OUT' and is_field_type:
- layout.prop(active_socket, "attribute_domain")
+ if is_field_type:
+ if in_out == 'OUT':
+ layout.prop(active_socket, "attribute_domain")
+ layout.prop(active_socket, "default_attribute_name")
active_socket.draw(context, layout)