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_set_spline_cyclic.cc
parent9ec12c26f16ea3da1e6de95d5d5daf1057464830 (diff)
Cleanup: Rename geometry set "curve" functions to "curves"
Ref T95355
Diffstat (limited to 'source/blender/nodes/geometry/nodes/node_geo_set_spline_cyclic.cc')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_set_spline_cyclic.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_set_spline_cyclic.cc b/source/blender/nodes/geometry/nodes/node_geo_set_spline_cyclic.cc
index 70e363064cd..dc7f3b1343a 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_set_spline_cyclic.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_set_spline_cyclic.cc
@@ -40,7 +40,7 @@ static void node_geo_exec(GeoNodeExecParams params)
Field<bool> cyclic_field = params.extract_input<Field<bool>>("Cyclic");
geometry_set.modify_geometry_sets([&](GeometrySet &geometry_set) {
- if (geometry_set.has_curve()) {
+ if (geometry_set.has_curves()) {
set_cyclic_in_component(
geometry_set.get_component_for_write<CurveComponent>(), selection_field, cyclic_field);
}