From c1d138dd926c1d59be1a77576636cd72c512ab6a Mon Sep 17 00:00:00 2001 From: Erik Abrahamsson Date: Mon, 18 Oct 2021 19:08:02 -0500 Subject: [PATCH] Fix T91979: Don't mark string nodes as supporting fields Even though these nodes do support fields internally, there are no input string sockets that support fields currently, so removing the diamond sockets for now helps avoid confusion. Differential Revision: https://developer.blender.org/D12828 --- source/blender/nodes/function/nodes/node_fn_string_length.cc | 1 - source/blender/nodes/function/nodes/node_fn_string_substring.cc | 1 - source/blender/nodes/function/nodes/node_fn_value_to_string.cc | 1 - 3 files changed, 3 deletions(-) diff --git a/source/blender/nodes/function/nodes/node_fn_string_length.cc b/source/blender/nodes/function/nodes/node_fn_string_length.cc index 89038629c3c..a0f85dfd2bf 100644 --- a/source/blender/nodes/function/nodes/node_fn_string_length.cc +++ b/source/blender/nodes/function/nodes/node_fn_string_length.cc @@ -24,7 +24,6 @@ namespace blender::nodes { static void fn_node_string_length_declare(NodeDeclarationBuilder &b) { - b.is_function_node(); b.add_input("String"); b.add_output("Length"); }; diff --git a/source/blender/nodes/function/nodes/node_fn_string_substring.cc b/source/blender/nodes/function/nodes/node_fn_string_substring.cc index b91171923d6..55a01093ae9 100644 --- a/source/blender/nodes/function/nodes/node_fn_string_substring.cc +++ b/source/blender/nodes/function/nodes/node_fn_string_substring.cc @@ -22,7 +22,6 @@ namespace blender::nodes { static void fn_node_string_substring_declare(NodeDeclarationBuilder &b) { - b.is_function_node(); b.add_input("String"); b.add_input("Position"); b.add_input("Length").min(0); diff --git a/source/blender/nodes/function/nodes/node_fn_value_to_string.cc b/source/blender/nodes/function/nodes/node_fn_value_to_string.cc index 56206af2eb2..c1e6373cb6d 100644 --- a/source/blender/nodes/function/nodes/node_fn_value_to_string.cc +++ b/source/blender/nodes/function/nodes/node_fn_value_to_string.cc @@ -21,7 +21,6 @@ namespace blender::nodes { static void fn_node_value_to_string_declare(NodeDeclarationBuilder &b) { - b.is_function_node(); b.add_input("Value"); b.add_input("Decimals").min(0); b.add_output("String");