diff options
author | Jacques Lucke <jacques@blender.org> | 2021-09-30 14:33:21 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-09-30 14:33:21 +0300 |
commit | 3453b22b1e9cd11ca26960403cbc7b75bfcbe119 (patch) | |
tree | 5526292f4d39e6842ca80ce1e2ca7de1c7952b9d /source/blender/nodes | |
parent | 9628ef413518e5ddda9c1c8106ce4fecbd1ae7c1 (diff) |
Fix: Curve to Mesh node outputs original curve
It should only output the new mesh (and potentially instances
that are processed separately).
Diffstat (limited to 'source/blender/nodes')
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_curve_to_mesh.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_curve_to_mesh.cc b/source/blender/nodes/geometry/nodes/node_geo_curve_to_mesh.cc index f7cef9bbf63..b123820989f 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_curve_to_mesh.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_curve_to_mesh.cc @@ -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)); |