Skip to content

Commit f7b62ee

Browse files
committed
Fixed DEXTR apply annotation to wrong layer
1 parent 225e205 commit f7b62ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

client/src/components/annotator/tools/DEXTRTool.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export default {
4646
let points = this.points;
4747
this.points = [];
4848
49+
let currentAnnotation = this.$parent.currentAnnotation;
4950
let pointsList = [];
5051
let width = this.$parent.image.raster.width / 2;
5152
let height = this.$parent.image.raster.height / 2;
@@ -81,7 +82,7 @@ export default {
8182
compoundPath.addChild(path);
8283
}
8384
84-
this.$parent.uniteCurrentAnnotation(compoundPath);
85+
currentAnnotation.unite(compoundPath);
8586
})
8687
.finally(() => points.forEach(point => point.remove()));
8788
}

0 commit comments

Comments
 (0)