xzw 1 week ago
parent
commit
aa5ccf7dc0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/sdk/cover/index.js

+ 1 - 1
src/sdk/cover/index.js

@@ -2193,7 +2193,7 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOS
                     info.points_datasets = props.points.map(e=> e.modelId == Id_noIntersect ? null : e.modelId) 
                     info.dataset_points = info.points = props.points.map(e=>e.position)//当该点不在任何模型上时,记录的是世界坐标,所以两个都赋值,过后根据有无datasetID选择
                 }else{ //设备拍摄
-                    props.points = props.points.map(e=>{ 
+                    info.points = props.points = props.points.map(e=>{ 
                         let p = viewer.transform.lonlatToLocal.forward(e)
                         return new THREE.Vector3().copy(p) 
                     })