[Bf-blender-cvs] [ac582056e2e] master: Geometry Nodes: Swap order of geometry proximity inputs
Hans Goudey
noreply at git.blender.org
Thu Sep 30 20:42:03 CEST 2021
Commit: ac582056e2e70f3b0d91ff69d0307dd357e2e2ed
Author: Hans Goudey
Date: Thu Sep 30 13:41:55 2021 -0500
Branches: master
https://developer.blender.org/rBac582056e2e70f3b0d91ff69d0307dd357e2e2ed
Geometry Nodes: Swap order of geometry proximity inputs
"Target" is the most important, so it goes at the top.
===================================================================
M source/blender/nodes/geometry/nodes/node_geo_proximity.cc
===================================================================
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();
}
More information about the Bf-blender-cvs
mailing list