Cleanup: remove unused variable

Differential Revision: https://developer.blender.org/D16350
This commit is contained in:
Iliya Katueshenock 2022-11-12 14:20:19 +01:00 committed by Jacques Lucke
parent 5a37724455
commit b5e82ff93d
1 changed files with 0 additions and 2 deletions

View File

@ -50,10 +50,8 @@ static void node_geo_exec(GeoNodeExecParams params)
GeometrySet profile_set = params.extract_input<GeometrySet>("Profile Curve");
const bool fill_caps = params.extract_input<bool>("Fill Caps");
bool has_curves = false;
curve_set.modify_geometry_sets([&](GeometrySet &geometry_set) {
if (geometry_set.has_curves()) {
has_curves = true;
geometry_set_curve_to_mesh(geometry_set, profile_set, fill_caps);
}
geometry_set.keep_only_during_modify({GEO_COMPONENT_TYPE_MESH});