Fix T104223: attribute not propagated to Set Curve Radius node

This declaration change tells the evaluation system that the radius
field is evaluated on the input geometry. Which in turn means that
attributes referenced by the radius field should be propagated to
the geometry.
This commit is contained in:
Iliya Katueshenock 2023-02-02 17:01:54 +01:00 committed by Jacques Lucke
parent fc2a64e21a
commit fdc81be213
Notes: blender-bot 2023-02-14 10:37:49 +01:00
Referenced by issue #104223, Regression: Geometry Node: Radius input don't propageted on input curve for Set Curve Radius node
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ static void node_declare(NodeDeclarationBuilder &b)
b.add_input<decl::Float>(N_("Radius"))
.min(0.0f)
.default_value(0.005f)
.supports_field()
.field_on_all()
.subtype(PROP_DISTANCE);
b.add_output<decl::Geometry>(N_("Curve")).propagate_all();
}