@realsee/dnalogel 3.44.2 → 3.44.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -48,7 +48,7 @@ import up from "earcut";
48
48
  import { GLTFLoader as fp } from "@realsee/five/gltf-loader";
49
49
  function mp() {
50
50
  console.debug(
51
- "%c %c@realsee/dnalogel %cv3.44.2",
51
+ "%c %c@realsee/dnalogel %cv3.44.3",
52
52
  [
53
53
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
54
54
  "background-repeat: no-repeat",
@@ -8182,7 +8182,7 @@ let Fi = class {
8182
8182
  /**
8183
8183
  * @realsee/dnalogel 版本号
8184
8184
  */
8185
- d(this, "VERSION", "3.44.2");
8185
+ d(this, "VERSION", "3.44.3");
8186
8186
  d(this, "NAME");
8187
8187
  d(this, "five");
8188
8188
  d(this, "workUtil");
@@ -35664,8 +35664,12 @@ class p3 extends Fi {
35664
35664
  }
35665
35665
  /** 根据点位更新 Mesh 坐标 */
35666
35666
  updateMeshPosition(e) {
35667
- var o, r, a;
35668
- const i = (a = (r = (o = this.five.work) == null ? void 0 : o.observers) == null ? void 0 : r[e]) == null ? void 0 : a.standingPosition, s = i == null ? void 0 : i.clone().setY(i.y + this.config.yOffset);
35667
+ const i = this.workUtil.getObserverStandingPosition(e);
35668
+ if (!i) {
35669
+ console.warn("CurrentPanoImagePlugin: 无法获取到当前点位的 standingPosition");
35670
+ return;
35671
+ }
35672
+ const s = i.clone().setY(i.y + this.config.yOffset);
35669
35673
  s && this.mesh.position.copy(s);
35670
35674
  }
35671
35675
  /** 重新加载贴图,调用时会先清除已有的贴图 */