Skip to content

Commit

Permalink
Fixed DEXTR apply annotation to wrong layer
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbroks committed Mar 17, 2019
1 parent 225e205 commit f7b62ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/components/annotator/tools/DEXTRTool.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export default {
let points = this.points;
this.points = [];
let currentAnnotation = this.$parent.currentAnnotation;
let pointsList = [];
let width = this.$parent.image.raster.width / 2;
let height = this.$parent.image.raster.height / 2;
Expand Down Expand Up @@ -81,7 +82,7 @@ export default {
compoundPath.addChild(path);
}
this.$parent.uniteCurrentAnnotation(compoundPath);
currentAnnotation.unite(compoundPath);
})
.finally(() => points.forEach(point => point.remove()));
}
Expand Down

0 comments on commit f7b62ee

Please sign in to comment.