Fix T102324: reverse curve node breaks crazy space editing

This commit is contained in:
Jacques Lucke 2022-11-07 14:40:35 +01:00
parent 79d8610d04
commit 8ff71acd84
Notes: blender-bot 2023-02-14 01:11:05 +01:00
Referenced by issue #102324, Reverse curve geometry node affects hair sculpting negatively
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,8 @@ static void node_geo_exec(GeoNodeExecParams params)
{
GeometrySet geometry_set = params.extract_input<GeometrySet>("Curve");
GeometryComponentEditData::remember_deformed_curve_positions_if_necessary(geometry_set);
geometry_set.modify_geometry_sets([&](GeometrySet &geometry_set) {
if (!geometry_set.has_curves()) {
return;