diff options
author | Jacques Lucke <jacques@blender.org> | 2022-11-07 16:40:35 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2022-11-08 14:42:14 +0300 |
commit | 195a1c7fc8adbe9eca71709cb77f36b9db519fca (patch) | |
tree | 8962dff2999d0a1a29509ede5073f93596dc2f24 | |
parent | 14db6975e671bfe689be09aa32e1b555282a0faa (diff) |
Fix T102324: reverse curve node breaks crazy space editing
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_curve_reverse.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_curve_reverse.cc b/source/blender/nodes/geometry/nodes/node_geo_curve_reverse.cc index 0169ead5bd2..040ebf55ec5 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_curve_reverse.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_curve_reverse.cc @@ -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; |