[Bf-blender-cvs] [960bdc8f76f] studio-sprite-fright: Fix T91187: incorrect socket identifier

Jacques Lucke noreply at git.blender.org
Tue Sep 7 16:57:42 CEST 2021


Commit: 960bdc8f76f726ba7aa63c30a239f32d2ea9d758
Author: Jacques Lucke
Date:   Mon Sep 6 18:46:13 2021 +0200
Branches: studio-sprite-fright
https://developer.blender.org/rB960bdc8f76f726ba7aa63c30a239f32d2ea9d758

Fix T91187: incorrect socket identifier

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

M	source/blender/nodes/geometry/nodes/node_geo_attribute_mix.cc

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

diff --git a/source/blender/nodes/geometry/nodes/node_geo_attribute_mix.cc b/source/blender/nodes/geometry/nodes/node_geo_attribute_mix.cc
index 582b1a88221..5d3d75b4678 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_attribute_mix.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_attribute_mix.cc
@@ -31,7 +31,11 @@ static void geo_node_mix_attribute_declare(NodeDeclarationBuilder &b)
 {
   b.add_input<decl::Geometry>("Geometry");
   b.add_input<decl::String>("Factor");
-  b.add_input<decl::Float>("Factor").default_value(0.5f).min(0.0f).max(1.0f).subtype(PROP_FACTOR);
+  b.add_input<decl::Float>("Factor", "Factor_001")
+      .default_value(0.5f)
+      .min(0.0f)
+      .max(1.0f)
+      .subtype(PROP_FACTOR);
   b.add_input<decl::String>("A");
   b.add_input<decl::Float>("A", "A_001");
   b.add_input<decl::Vector>("A", "A_002");



More information about the Bf-blender-cvs mailing list