Fix: Point translate and point scale don't execute on curve data
This commit is contained in:
parent
d96e9de9de
commit
a3226bdf3e
|
@ -115,6 +115,9 @@ static void geo_node_point_scale_exec(GeoNodeExecParams params)
|
|||
if (geometry_set.has<PointCloudComponent>()) {
|
||||
execute_on_component(params, geometry_set.get_component_for_write<PointCloudComponent>());
|
||||
}
|
||||
if (geometry_set.has<CurveComponent>()) {
|
||||
execute_on_component(params, geometry_set.get_component_for_write<CurveComponent>());
|
||||
}
|
||||
|
||||
params.set_output("Geometry", std::move(geometry_set));
|
||||
}
|
||||
|
|
|
@ -69,6 +69,9 @@ static void geo_node_point_translate_exec(GeoNodeExecParams params)
|
|||
if (geometry_set.has<PointCloudComponent>()) {
|
||||
execute_on_component(params, geometry_set.get_component_for_write<PointCloudComponent>());
|
||||
}
|
||||
if (geometry_set.has<CurveComponent>()) {
|
||||
execute_on_component(params, geometry_set.get_component_for_write<CurveComponent>());
|
||||
}
|
||||
|
||||
params.set_output("Geometry", std::move(geometry_set));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue