Fix spline tool deleting layer

This commit is contained in:
0hypercube 2023-11-19 13:41:21 +00:00 committed by Keavon Chambers
parent 8a1cf3ad5d
commit da4d95fa7b
1 changed files with 1 additions and 1 deletions

View File

@ -324,5 +324,5 @@ fn update_spline(tool_data: &SplineToolData, show_preview: bool, responses: &mut
graph_modification_utils::set_manipulator_mirror_angle(subpath.manipulator_groups(), layer, true, responses);
let subpaths = vec![subpath];
let modification = VectorDataModification::UpdateSubpaths { subpaths };
responses.add(GraphOperationMessage::Vector { layer: layer.to_path(), modification });
responses.add_front(GraphOperationMessage::Vector { layer: layer.to_path(), modification });
}