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
This commit is contained in:
parent
d7b231baa8
commit
c1d138dd92
Notes:
blender-bot
2023-02-14 11:35:46 +01:00
Referenced by issue #91979, Make String Length Output not a field
|
@ -24,7 +24,6 @@ namespace blender::nodes {
|
|||
|
||||
static void fn_node_string_length_declare(NodeDeclarationBuilder &b)
|
||||
{
|
||||
b.is_function_node();
|
||||
b.add_input<decl::String>("String");
|
||||
b.add_output<decl::Int>("Length");
|
||||
};
|
||||
|
|
|
@ -22,7 +22,6 @@ namespace blender::nodes {
|
|||
|
||||
static void fn_node_string_substring_declare(NodeDeclarationBuilder &b)
|
||||
{
|
||||
b.is_function_node();
|
||||
b.add_input<decl::String>("String");
|
||||
b.add_input<decl::Int>("Position");
|
||||
b.add_input<decl::Int>("Length").min(0);
|
||||
|
|
|
@ -21,7 +21,6 @@ namespace blender::nodes {
|
|||
|
||||
static void fn_node_value_to_string_declare(NodeDeclarationBuilder &b)
|
||||
{
|
||||
b.is_function_node();
|
||||
b.add_input<decl::Float>("Value");
|
||||
b.add_input<decl::Int>("Decimals").min(0);
|
||||
b.add_output<decl::String>("String");
|
||||
|
|
Loading…
Reference in New Issue