@realsee/dnalogel 3.48.6 → 3.48.7

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 Ip from "earcut";
48
48
  import { GLTFLoader as Ep } from "@realsee/five/gltf-loader";
49
49
  function Mp() {
50
50
  console.debug(
51
- "%c %c@realsee/dnalogel %cv3.48.6",
51
+ "%c %c@realsee/dnalogel %cv3.48.7",
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",
@@ -8357,7 +8357,7 @@ let Hi = class {
8357
8357
  /**
8358
8358
  * @realsee/dnalogel 版本号
8359
8359
  */
8360
- d(this, "VERSION", "3.48.6");
8360
+ d(this, "VERSION", "3.48.7");
8361
8361
  d(this, "NAME");
8362
8362
  d(this, "five");
8363
8363
  d(this, "workUtil");
@@ -13096,29 +13096,29 @@ class Gh extends xr {
13096
13096
  this.updateDistanceUI();
13097
13097
  });
13098
13098
  d(this, "onFiveModeChange", (e) => {
13099
- this.model.polylines.forEach((i) => {
13100
- i.visibleFiveMode && (i.visibleFiveMode.includes(e) || i.lines.forEach((s) => {
13099
+ e !== "Panorama" && (this.model.polylines.forEach((i) => {
13100
+ i.visibleFiveMode && !i.visibleFiveMode.includes(e) && i.lines.forEach((s) => {
13101
13101
  s.mesh.visible = !1, s.distanceItem.update(this.five);
13102
- }));
13102
+ });
13103
13103
  }), this.five.ready().then(() => {
13104
13104
  const i = this.five.getCurrentState().mode;
13105
- this.model.polylines.forEach((s) => {
13105
+ i !== "Panorama" && this.model.polylines.forEach((s) => {
13106
13106
  s.visibleFiveMode && s.visibleFiveMode.includes(i) && s.lines.forEach((o) => {
13107
13107
  o.mesh.visible = !0, o.distanceItem.update(this.five);
13108
13108
  });
13109
13109
  });
13110
- });
13110
+ }));
13111
13111
  });
13112
13112
  d(this, "onFivePanoWillArrive", (e) => {
13113
13113
  this.model.polylines.forEach((i) => {
13114
- i.visiblePanoIndexes && (i.visiblePanoIndexes.includes(e) || i.lines.forEach((s) => {
13114
+ (i.visiblePanoIndexes && !i.visiblePanoIndexes.includes(e) || i.visibleFiveMode && !i.visibleFiveMode.includes(this.five.getCurrentState().mode)) && i.lines.forEach((s) => {
13115
13115
  s.mesh.visible = !1, s.distanceItem.update(this.five);
13116
- }));
13116
+ });
13117
13117
  });
13118
13118
  });
13119
13119
  d(this, "onFivePanoArrived", (e) => {
13120
13120
  this.model.polylines.forEach((i) => {
13121
- i.visiblePanoIndexes && i.visiblePanoIndexes.includes(e) && i.lines.forEach((s) => {
13121
+ i.visiblePanoIndexes && i.visiblePanoIndexes.includes(e) && i.visibleFiveMode && i.visibleFiveMode.includes(this.five.getCurrentState().mode) && i.lines.forEach((s) => {
13122
13122
  s.mesh.visible = !0, s.distanceItem.update(this.five);
13123
13123
  });
13124
13124
  });
@@ -13131,7 +13131,7 @@ class Gh extends xr {
13131
13131
  const s = new Ar(i);
13132
13132
  this.hammer = s;
13133
13133
  }
13134
- this.onFivePanoWillArrive(this.five.getCurrentState().panoIndex), this.onFivePanoArrived(this.five.getCurrentState().panoIndex), this.onFiveModeChange(this.five.getCurrentState().mode), this.updateDistanceUI(), this.five.needsRender = !0, this.model.hook.on("polylineAdded", this.polylineAdded), this.model.hook.on("polylineRemoved", this.polylineRemoved), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("panoArrived", this.onFivePanoArrived), this.five.on("modeChange", this.onFiveModeChange), this.five.on("panoWillArrive", this.onFivePanoWillArrive);
13134
+ this.onFiveModeChange(this.five.getCurrentState().mode), this.onFivePanoWillArrive(this.five.getCurrentState().panoIndex), this.onFivePanoArrived(this.five.getCurrentState().panoIndex), this.updateDistanceUI(), this.five.needsRender = !0, this.model.hook.on("polylineAdded", this.polylineAdded), this.model.hook.on("polylineRemoved", this.polylineRemoved), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("panoArrived", this.onFivePanoArrived), this.five.on("modeChange", this.onFiveModeChange), this.five.on("panoWillArrive", this.onFivePanoWillArrive);
13135
13135
  }
13136
13136
  dispose() {
13137
13137
  var e;
@@ -38227,7 +38227,7 @@ const jn = class extends ct {
38227
38227
  var r;
38228
38228
  const o = Hg((r = s == null ? void 0 : s[0]) == null ? void 0 : r.object, (a) => a.isSculptObject);
38229
38229
  return o ? this.emit("click", o) : !1;
38230
- }), window.__SCLUPT_DEBUG__ = this, window.__SCLUPT_MODULES_DEBUG__ = jn.modules;
38230
+ }), window.__SCULPT_DEBUG__ = this, window.__SCULPT_MODULES_DEBUG__ = jn.modules;
38231
38231
  }
38232
38232
  get data() {
38233
38233
  return {