Improved UDP listener

This commit is contained in:
Devine Lu Linvega
2019-01-18 14:40:58 +12:00
parent 38663165f7
commit cb1a289178
2 changed files with 6 additions and 6 deletions

View File

@@ -154,8 +154,6 @@ function Tool (dotgrid) {
}
this.addSegment = function (type, vertices, index = this.index) {
console.log(this.layer(index))
let append_target = this.canAppend({ type: type, vertices: vertices }, index)
if (append_target) {
this.layer(index)[append_target].vertices = this.layer(index)[append_target].vertices.concat(vertices)