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>2022-02-28 18:53:30 +0300
committerHans Goudey <h.goudey@me.com>2022-02-28 18:53:30 +0300
commit245722866d6977c8b440e0f468ebf6528d3970e1 (patch)
treecc9bac5c3eca3aa984269de581285150ca8d5e68 /source/blender/nodes/geometry/nodes/node_geo_curve_to_points.cc
parent9ec12c26f16ea3da1e6de95d5d5daf1057464830 (diff)
Cleanup: Rename geometry set "curve" functions to "curves"
Ref T95355
Diffstat (limited to 'source/blender/nodes/geometry/nodes/node_geo_curve_to_points.cc')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_curve_to_points.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_curve_to_points.cc b/source/blender/nodes/geometry/nodes/node_geo_curve_to_points.cc
index 33e7a818c87..1eb18b2f910 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_curve_to_points.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_curve_to_points.cc
@@ -321,12 +321,12 @@ static void node_geo_exec(GeoNodeExecParams params)
attribute_outputs.rotation_id = StrongAnonymousAttributeID("Rotation");
geometry_set.modify_geometry_sets([&](GeometrySet &geometry_set) {
- if (!geometry_set.has_curve()) {
+ if (!geometry_set.has_curves()) {
geometry_set.keep_only({GEO_COMPONENT_TYPE_INSTANCES});
return;
}
const std::unique_ptr<CurveEval> curve = curves_to_curve_eval(
- *geometry_set.get_curve_for_read());
+ *geometry_set.get_curves_for_read());
const Span<SplinePtr> splines = curve->splines();
curve->assert_valid_point_attributes();