|
@@ -190,7 +190,12 @@ export default class Player {
|
|
|
console.log("intersects", intersects);
|
|
|
if (intersects[0]) {
|
|
|
this.drawing = false;
|
|
|
- this.renderMarkers.push();
|
|
|
+ const imageId = intersects[0].object.userData;
|
|
|
+ const activeMarkeritem = {
|
|
|
+ id: imageId,
|
|
|
+ point: this.pointermove.toArray(),
|
|
|
+ };
|
|
|
+ console.log("activeMarkeritem", activeMarkeritem);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -334,6 +339,7 @@ export default class Player {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+
|
|
|
showAllActiveEdges() {
|
|
|
if (this.inited) {
|
|
|
let imgList = this.scene.boxManager.imgList;
|