Fix: Nodes: single value types sometimes shown as dynamic
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user