Commit c66354a0 authored by Christian Winter's avatar Christian Winter

temporary bugifx. when deselecting a line whole selection was discarded

parent 941a1f4e
Pipeline #5142741 passed with stage
in 43 seconds
......@@ -46,7 +46,10 @@
if (p === point) {
Utilities.deleteArrayEntry(this.points, point);
Utilities.deleteArrayEntry(this.partialLines, point.line);
Application.currentView.data.addLine(point.line);
// HACK should use addLine, but problem is, then everytime a line gets deselected
// everything will be deselected if lineCutting is active.
// Application.currentView.data.addLine(point.line);
this.selection.view.data.lines.push(point.line);
return;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment