-
-
Notifications
You must be signed in to change notification settings - Fork 918
Open
Labels
ArchitectureInvolves architecture or engineering work or discussionInvolves architecture or engineering work or discussionCrashA panic which crashed the editorA panic which crashed the editor
Description
When there is no path node, the compute_modified_vector
function (included below) relies on the click_targets
. However click targets don't store PointIds, SegementIds, or colinear handles. This leads to a couple of issues:
- If you select a point on ellipse (no dragging) the colinear check box won't be filled.
- If the segments are in an odd order (e.g. with the bevel node), inserting a point in a segment crashes.
Graphite/editor/src/messages/portfolio/document/utility_types/network_interface.rs
Lines 2826 to 2831 in c3a3c4c
self.document_metadata | |
.click_targets | |
.get(&layer) | |
.map(|click| click.iter().map(ClickTarget::subpath)) | |
.map(|subpaths| VectorData::from_subpaths(subpaths, true)) | |
} |
Metadata
Metadata
Assignees
Labels
ArchitectureInvolves architecture or engineering work or discussionInvolves architecture or engineering work or discussionCrashA panic which crashed the editorA panic which crashed the editor
Type
Projects
Status
Short-Term