Fix field type in curve resample node
This commit is contained in:
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
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue