diff --git a/source/blender/nodes/NOD_node_declaration.hh b/source/blender/nodes/NOD_node_declaration.hh index 06b4e982a68..dc7a072a735 100644 --- a/source/blender/nodes/NOD_node_declaration.hh +++ b/source/blender/nodes/NOD_node_declaration.hh @@ -256,7 +256,7 @@ class SocketDeclaration : public ItemDeclaration { public: /** Some input sockets can have non-trivial values in the case when they are unlinked. */ - NodeDefaultInputType default_input_type; + NodeDefaultInputType default_input_type = NodeDefaultInputType::NODE_DEFAULT_INPUT_VALUE; /** * Property that stores the name of the socket so that it can be modified directly from the * node without going to the side-bar.