[Bf-blender-cvs] [08593e46a33] master: Fix T91187: incorrect socket identifier

Jacques Lucke noreply at git.blender.org
Mon Sep 6 18:47:17 CEST 2021


Commit: 08593e46a3392a78420f3ec2a871aec9228c9d42
Author: Jacques Lucke
Date:   Mon Sep 6 18:46:13 2021 +0200
Branches: master
https://developer.blender.org/rB08593e46a3392a78420f3ec2a871aec9228c9d42

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