Fix: Nodes: single value types sometimes shown as dynamic

This commit is contained in:
Jacques Lucke
2025-07-30 17:04:08 +02:00
parent f8eae6b58a
commit 78c161585b

View File

@@ -892,6 +892,9 @@ class NodeTreeMainUpdater {
if (decl.identifier == "__extend__") {
return SOCK_DISPLAY_SHAPE_CIRCLE;
}
if (nodes::socket_type_always_single(decl.socket_type)) {
return SOCK_DISPLAY_SHAPE_LINE;
}
switch (structure_type) {
case StructureType::Single:
return SOCK_DISPLAY_SHAPE_LINE;
@@ -914,6 +917,9 @@ class NodeTreeMainUpdater {
if (decl.identifier == "__extend__") {
return SOCK_DISPLAY_SHAPE_CIRCLE;
}
if (nodes::socket_type_always_single(decl.socket_type)) {
return SOCK_DISPLAY_SHAPE_LINE;
}
switch (structure_type) {
case StructureType::Single: {
return SOCK_DISPLAY_SHAPE_LINE;