Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2021-10-04 23:40:09 +0300
committerHans Goudey <h.goudey@me.com>2021-10-04 23:40:09 +0300
commit18959c502d62d3d51912bb3cf34ec6c8e8a3544a (patch)
treee04c62f1b725dcfe9b2dd77434049175907f01c8 /source/blender
parentc38d2513c5db343314cf32f2ca2dc3396877df09 (diff)
Fix field type in curve resample node
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_curve_resample.cc2
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);
}