mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-30 18:08:12 +08:00
Fix invalid segment crash when disolving point loop (#1959)
* Fix invalid segment crash * Further improve robustness
This commit is contained in:
@@ -306,7 +306,9 @@ impl PenToolData {
|
||||
},
|
||||
});
|
||||
}
|
||||
if !close_subpath {
|
||||
if close_subpath {
|
||||
responses.add(DocumentMessage::EndTransaction);
|
||||
} else {
|
||||
self.add_point(LastPoint {
|
||||
id: end,
|
||||
pos: next_point,
|
||||
|
||||
Reference in New Issue
Block a user