gemercheung hai 1 ano
pai
achega
155bc9a9e1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/player/Player.js

+ 1 - 1
src/core/player/Player.js

@@ -602,7 +602,7 @@ export default class Player {
     if (type === 1) {
       const index = this.renderMarkers.findIndex((mk) => {
         const p = new THREE.Vector3().fromArray(mk.point);
-        const v = new THREE.Vector3().fromArray(data);
+        const v = new THREE.Vector3().fromArray(data.point);
         return p.equals(v);
       });
       this.renderMarkers.splice(index, 1);