Fix Pen tool anchor point overlays disappearing forever after viewing the node graph (#3523)

* Promote vector meshes from experimental by removing it from preferences

* fix : pen tool anchor point issue with node graph open/close

* fix : Memory allocation by removing .collct()

* fix : remove the reduntant if condition

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
Co-authored-by: Adesh Gupta <148623820+4adex@users.noreply.github.com>
This commit is contained in:
Jatin Bharti 2025-12-25 19:13:26 +05:30 committed by GitHub
parent 9f25c50ca1
commit 0b38beb79b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 4 deletions

View File

@ -135,10 +135,7 @@ pub fn path_overlays(document: &DocumentMessageHandler, draw_handles: DrawHandle
overlay_context.outline_vector(&vector, transform);
}
let Some(selected_shape_state) = shape_editor.selected_shape_state.get_mut(&layer) else {
continue;
};
let selected_shape_state = shape_editor.selected_shape_state.entry(layer).or_default();
// Get the selected segments and then add a bold line overlay on them
for (segment_id, bezier, _, _) in vector.segment_iter() {
if selected_shape_state.is_segment_selected(segment_id) {