[Bf-blender-cvs] [399e5cc0692] geometry-nodes: Geometry Nodes: support swapping inputs in function nodes

Jacques Lucke noreply at git.blender.org
Tue Dec 1 15:12:02 CET 2020


Commit: 399e5cc06928a7112fbca737ef7bf353e1581f8a
Author: Jacques Lucke
Date:   Tue Dec 1 15:11:49 2020 +0100
Branches: geometry-nodes
https://developer.blender.org/rB399e5cc06928a7112fbca737ef7bf353e1581f8a

Geometry Nodes: support swapping inputs in function nodes

This is the same fix as in rB5ae666c2cc67be0e5ffb897c1ff48fe434d7dbc6.

===================================================================

M	source/blender/nodes/function/node_function_util.cc

===================================================================

diff --git a/source/blender/nodes/function/node_function_util.cc b/source/blender/nodes/function/node_function_util.cc
index 1ed83e08ab1..827572d1069 100644
--- a/source/blender/nodes/function/node_function_util.cc
+++ b/source/blender/nodes/function/node_function_util.cc
@@ -28,4 +28,5 @@ void fn_node_type_base(bNodeType *ntype, int type, const char *name, short nclas
   node_type_base(ntype, type, name, nclass, flag);
   ntype->poll = fn_node_poll_default;
   ntype->update_internal_links = node_update_internal_links_default;
+  ntype->insert_link = node_insert_link_default;
 }



More information about the Bf-blender-cvs mailing list