Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2021-09-30 21:41:55 +0300
committerHans Goudey <h.goudey@me.com>2021-09-30 21:41:55 +0300
commitac582056e2e70f3b0d91ff69d0307dd357e2e2ed (patch)
treef8c0412552b2379c185676ac365fe9b12e93d0a4 /source/blender/nodes/geometry/nodes/node_geo_proximity.cc
parentbe70827e6f62763d524f00652f61da6fc86e2714 (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/geometry/nodes/node_geo_proximity.cc')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_proximity.cc2
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();
}