diff options
author | Hans Goudey <h.goudey@me.com> | 2021-10-04 23:40:09 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-10-04 23:40:09 +0300 |
commit | 18959c502d62d3d51912bb3cf34ec6c8e8a3544a (patch) | |
tree | e04c62f1b725dcfe9b2dd77434049175907f01c8 /source | |
parent | c38d2513c5db343314cf32f2ca2dc3396877df09 (diff) |
Fix field type in curve resample node
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_curve_resample.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 e5be9b7a6f4..fe52d0e736c 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_curve_resample.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_curve_resample.cc @@ -250,7 +250,7 @@ static void geo_node_resample_exec(GeoNodeExecParams params) mode_param.count.emplace(count); } else if (mode == GEO_NODE_CURVE_RESAMPLE_LENGTH) { - Field<int> resolution = params.extract_input<Field<int>>("Length"); + Field<float> resolution = params.extract_input<Field<float>>("Length"); mode_param.length.emplace(resolution); } |