xzw 1 tháng trước cách đây
mục cha
commit
c28dc2a698
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/sdk/cover/index.js

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

@@ -2137,7 +2137,7 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOS
                   
                     if(Potree.settings.pathSmooth){  
                         let curve = path.curve.clone(); 
-                            curve.points.forEach(e=>e.z += 2)
+                            curve.points.forEach(e=>{e.add(path.edge.position), e.z += 2})
                             
                         if(path.reverse) curve.points.reverse()