Cleanup: fix wrong type
It's a bit surprising that this compiled. That's probably due to the `GField` constructor, to be investigated!
This commit is contained in:
@@ -73,7 +73,7 @@ static void node_geo_exec(GeoNodeExecParams params)
|
||||
break;
|
||||
}
|
||||
case GEO_NODE_CURVE_RESAMPLE_LENGTH: {
|
||||
Field<int> length = params.extract_input<Field<float>>("Length");
|
||||
Field<float> length = params.extract_input<Field<float>>("Length");
|
||||
geometry_set.modify_geometry_sets([&](GeometrySet &geometry) {
|
||||
if (const CurveComponent *component = geometry.get_component_for_read<CurveComponent>()) {
|
||||
if (!component->is_empty()) {
|
||||
|
Reference in New Issue
Block a user