Browse Source

feat: 修复点云场景热点超过视图显示问题

rindy 4 tháng trước cách đây
mục cha
commit
3b6dc2ad7e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/pages/Viewer.vue

+ 1 - 1
src/pages/Viewer.vue

@@ -409,7 +409,7 @@ const onLoadSource = () => {
                     const info2d = sdk.scene.getScreenByPoint(tag.position)
                     tag.x = info2d.pos.x
                     tag.y = info2d.pos.y
-                    tag.visible = info2d.trueSide
+                    tag.visible = info2d.trueSide && info2d.inSight
                 })
             })