@realsee/dnalogel 3.2.1 → 3.2.2
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.
|
@@ -14,7 +14,7 @@ var i = (h, e, t) => (b(h, typeof e != "symbol" ? e + "" : e, t), t);
|
|
|
14
14
|
import * as n from "three";
|
|
15
15
|
import { logWarning as x, logError as S } from "../../shared-utils/log.js";
|
|
16
16
|
import { createLineGeometry as U } from "../utils/createLineGeometry.js";
|
|
17
|
-
import { isPanoramaLike as
|
|
17
|
+
import { isPanoramaLike as M, isModelLike as _ } from "../../shared-utils/five/mode.js";
|
|
18
18
|
import "hammerjs";
|
|
19
19
|
import "@realsee/five";
|
|
20
20
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -175,7 +175,7 @@ class N {
|
|
|
175
175
|
});
|
|
176
176
|
/** 模型状态变更 */
|
|
177
177
|
i(this, "onFiveModeChange", (e) => {
|
|
178
|
-
this.modeVisible = this.mode === "panorama" ?
|
|
178
|
+
this.modeVisible = this.mode === "panorama" ? M(e) : _(e), this.updateVisible();
|
|
179
179
|
});
|
|
180
180
|
i(this, "onFiveModelShownFloorChange", (e) => {
|
|
181
181
|
this.floorVisible = e === null || this.visibleFloorIndexes === null || this.visibleFloorIndexes.includes(e), this.updateVisible();
|
|
@@ -417,7 +417,7 @@ class N {
|
|
|
417
417
|
}
|
|
418
418
|
setTag(e, t) {
|
|
419
419
|
const r = this.curvePath, s = e === "start" ? this.startTagContainer : this.endTagContainer;
|
|
420
|
-
t || s.plugin.clearTags();
|
|
420
|
+
t != null && t.data || s.plugin.clearTags();
|
|
421
421
|
const o = I({}, {
|
|
422
422
|
contentType: "Custom",
|
|
423
423
|
stickType: "2DPoint",
|
|
@@ -432,7 +432,7 @@ class N {
|
|
|
432
432
|
return s.app = l, () => l.$destroy();
|
|
433
433
|
}), s.plugin.load({ tagList: [s.tag] });
|
|
434
434
|
const d = this.meshStyle.translate;
|
|
435
|
-
if (d) {
|
|
435
|
+
if (d && o.position) {
|
|
436
436
|
const g = new n.Vector3().fromArray(o.position), m = new n.Vector3().fromArray(d);
|
|
437
437
|
g.add(m), g.y += this.heightOffset;
|
|
438
438
|
const l = g.toArray();
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.2.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.2.2",
|
|
4
4
|
[
|
|
5
5
|
"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=')",
|
|
6
6
|
"background-repeat: no-repeat",
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "3.2.
|
|
10
|
+
"version": "3.2.2",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|