From fdb1f704687000b6f0923f3d3ceb3d5ab4b1592d Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Sun, 22 May 2022 12:01:11 +0200 Subject: Cleanup: fix wrong type It's a bit surprising that this compiled. That's probably due to the `GField` constructor, to be investigated! --- source/blender/nodes/geometry/nodes/node_geo_curve_resample.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/nodes') diff --git a/source/blender/nodes/geometry/nodes/node_geo_curve_resample.cc b/source/blender/nodes/geometry/nodes/node_geo_curve_resample.cc index d9cc8bcf023..78a132064ed 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_curve_resample.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_curve_resample.cc @@ -73,7 +73,7 @@ static void node_geo_exec(GeoNodeExecParams params) break; } case GEO_NODE_CURVE_RESAMPLE_LENGTH: { - Field length = params.extract_input>("Length"); + Field length = params.extract_input>("Length"); geometry_set.modify_geometry_sets([&](GeometrySet &geometry) { if (const CurveComponent *component = geometry.get_component_for_read()) { if (!component->is_empty()) { -- cgit v1.2.3