Commit: 18959c502d62d3d51912bb3cf34ec6c8e8a3544a
Author: Hans Goudey
Date: Mon Oct 4 15:40:09 2021 -0500
Branches: master
https://developer.blender.org/rB18959c502d62d3d51912bb3cf34ec6c8e8a3544a
Fix field type in curve resample node
===================================================================
M source/blender/nodes/geometry/nodes/node_geo_curve_resample.cc
===================================================================
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);
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs