Fix field type in curve resample node

This commit is contained in:
Hans Goudey 2021-10-04 15:40:09 -05:00
parent c38d2513c5
commit 18959c502d
Notes: blender-bot 2023-02-14 04:56:36 +01:00
Referenced by issue #92743, Render border outside view OptiX denoising crash
Referenced by issue #91981, Particle Edit make Blender Crash
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}