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:
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
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue