diff options
author | Hans Goudey <h.goudey@me.com> | 2021-09-30 21:41:55 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-09-30 21:41:55 +0300 |
commit | ac582056e2e70f3b0d91ff69d0307dd357e2e2ed (patch) | |
tree | f8c0412552b2379c185676ac365fe9b12e93d0a4 /source/blender/nodes | |
parent | be70827e6f62763d524f00652f61da6fc86e2714 (diff) |
Geometry Nodes: Swap order of geometry proximity inputs
"Target" is the most important, so it goes at the top.
Diffstat (limited to 'source/blender/nodes')
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_proximity.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_proximity.cc b/source/blender/nodes/geometry/nodes/node_geo_proximity.cc index 2b1de5fbf95..7062deff2f1 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_proximity.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_proximity.cc @@ -31,8 +31,8 @@ namespace blender::nodes { static void geo_node_proximity_declare(NodeDeclarationBuilder &b) { - b.add_input<decl::Vector>("Source Position").implicit_field(); b.add_input<decl::Geometry>("Target"); + b.add_input<decl::Vector>("Source Position").implicit_field(); b.add_output<decl::Vector>("Position").dependent_field(); b.add_output<decl::Float>("Distance").dependent_field(); } |