@realsee/dnalogel 3.50.8 → 3.50.9

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 LE from "earcut";
48
48
  import { GLTFLoader as kE } from "@realsee/five/gltf-loader";
49
49
  function RE() {
50
50
  console.debug(
51
- "%c %c@realsee/dnalogel %cv3.50.8",
51
+ "%c %c@realsee/dnalogel %cv3.50.9",
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",
@@ -1764,7 +1764,11 @@ class ew extends E.Object3D {
1764
1764
  v(this, "lineMesh");
1765
1765
  v(this, "ballMesh");
1766
1766
  v(this, "borderMesh");
1767
- this.planeMesh = mC(), this.lineMesh = gC(), this.ballMesh = vC(), this.borderMesh = yC(), this.add(this.planeMesh, this.lineMesh, this.ballMesh, this.borderMesh), $1(t);
1767
+ this.planeMesh = mC(), this.lineMesh = gC(), this.ballMesh = vC(), this.borderMesh = yC(), this.addEventListener("added", () => {
1768
+ this.add(this.planeMesh, this.lineMesh, this.ballMesh, this.borderMesh);
1769
+ }), this.addEventListener("removed", () => {
1770
+ this.remove(this.planeMesh, this.lineMesh, this.ballMesh, this.borderMesh);
1771
+ }), $1(t);
1768
1772
  }
1769
1773
  updateWithIntersect(t) {
1770
1774
  if (!t.face)
@@ -27811,7 +27815,7 @@ let ws = class {
27811
27815
  /**
27812
27816
  * @realsee/dnalogel 版本号
27813
27817
  */
27814
- v(this, "VERSION", "3.50.8");
27818
+ v(this, "VERSION", "3.50.9");
27815
27819
  v(this, "NAME");
27816
27820
  v(this, "five");
27817
27821
  v(this, "workUtil");
@@ -51416,16 +51420,17 @@ class nv extends VM {
51416
51420
  return 800;
51417
51421
  })();
51418
51422
  s.currentPlayKeyframe && (s.currentPlayKeyframe.originDuration = c), yield new Promise((h) => {
51419
- var u, d, f;
51420
- this.fiveUtil.moveToPano(t.panoIndex, {
51423
+ var d, f, m;
51424
+ const u = this.fiveUtil.moveToPano(t.panoIndex, {
51421
51425
  latitude: t.latitude,
51422
51426
  longitude: t.longitude,
51423
51427
  fov: t.fov,
51424
51428
  duration: this.getSpeededDuration(c),
51425
- effect: (f = (d = i == null ? void 0 : i.moveEffect) != null ? d : (u = this.state.config) == null ? void 0 : u.moveEffect) != null ? f : t.moveEffect,
51429
+ effect: (m = (f = i == null ? void 0 : i.moveEffect) != null ? f : (d = this.state.config) == null ? void 0 : d.moveEffect) != null ? m : t.moveEffect,
51426
51430
  moveCancelCallback: () => h(),
51427
51431
  moveEndCallback: () => h()
51428
- }), a && r.once("panoArrived", () => h());
51432
+ });
51433
+ u instanceof Promise && u.then(() => h()), a && r.once("panoArrived", () => h());
51429
51434
  }), a && (this.privateState.modeChanging = !1);
51430
51435
  });
51431
51436
  }