Fix: Curve to Mesh node outputs original curve

It should only output the new mesh (and potentially instances
that are processed separately).
This commit is contained in:
Jacques Lucke 2021-09-30 13:33:21 +02:00
parent 9628ef4135
commit 3453b22b1e
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ static void geo_node_curve_to_mesh_exec(GeoNodeExecParams params)
curve_set.modify_geometry_sets([&](GeometrySet &geometry_set) {
geometry_set_curve_to_mesh(geometry_set, profile_set, params);
geometry_set.keep_only({GEO_COMPONENT_TYPE_MESH, GEO_COMPONENT_TYPE_INSTANCES});
});
params.set_output("Mesh", std::move(curve_set));