Browse Source

feat: update

gemercheung 1 year ago
parent
commit
155bc9a9e1
1 changed files with 1 additions and 1 deletions
  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);