@realsee/dnalogel 3.53.1 → 3.53.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/CHANGELOG.md +6 -0
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +1 -1
- package/dist/index.cjs.js +3 -3
- package/dist/index.js +6 -6
- package/dist/index.umd.js +3 -3
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +4 -4
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +1 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -190,6 +190,7 @@ class R {
|
|
|
190
190
|
i(this, "group", new h.Group());
|
|
191
191
|
i(this, "meshWithDepthTest");
|
|
192
192
|
i(this, "meshWithoutDepthTest");
|
|
193
|
+
i(this, "visible", null);
|
|
193
194
|
i(this, "five");
|
|
194
195
|
i(this, "mode");
|
|
195
196
|
i(this, "_curvePath", null);
|
|
@@ -201,7 +202,6 @@ class R {
|
|
|
201
202
|
i(this, "width", 0.5);
|
|
202
203
|
i(this, "unitLength", 0.5);
|
|
203
204
|
i(this, "_visibleFloorIndexes", null);
|
|
204
|
-
i(this, "visible", null);
|
|
205
205
|
/** Five Mode 是否满足 */
|
|
206
206
|
i(this, "modeVisible", !1);
|
|
207
207
|
/** 楼层是否满足展示条件 */
|
|
@@ -256,8 +256,8 @@ class R {
|
|
|
256
256
|
});
|
|
257
257
|
/** 更新可见性 */
|
|
258
258
|
i(this, "updateVisible", () => {
|
|
259
|
-
const e = (() => !this.parent.visible || !this.plugin.state.enabled || !this.plugin.state.visible ? !1 : this.customVisible !== null ? this.customVisible : this.inWalkAnimation ? !0 : this.modeVisible && this.
|
|
260
|
-
this.visible
|
|
259
|
+
const e = (() => !this.parent.visible || !this.plugin.state.enabled || !this.plugin.state.visible ? !1 : this.customVisible !== null ? this.customVisible : this.inWalkAnimation ? !0 : this.modeVisible && this.defaultVisible && this.floorVisible)();
|
|
260
|
+
this.visible = e, e && this.textureHasLoaded ? this.doShow() : this.doHide();
|
|
261
261
|
});
|
|
262
262
|
i(this, "onFlowAnimeUpdate", (e) => {
|
|
263
263
|
const { progress: t } = e;
|
|
@@ -534,7 +534,7 @@ class R {
|
|
|
534
534
|
}
|
|
535
535
|
doShow() {
|
|
536
536
|
var e, t;
|
|
537
|
-
this.mode === "model" && this.flowAnime.play(), this.five.scene.add(this.group), (e = this.startTagContainer) == null || e.plugin.show(), (t = this.endTagContainer) == null || t.plugin.show(), this.five.needsRender = !0;
|
|
537
|
+
this.mode === "model" && !this.flowAnime.isPlaying() && this.flowAnime.play(), this.five.scene.add(this.group), (e = this.startTagContainer) == null || e.plugin.show(), (t = this.endTagContainer) == null || t.plugin.show(), this.five.needsRender = !0;
|
|
538
538
|
}
|
|
539
539
|
doHide() {
|
|
540
540
|
var e, t;
|
|
@@ -32,6 +32,7 @@ declare class GuideLineModeItem {
|
|
|
32
32
|
readonly group: THREE.Group;
|
|
33
33
|
readonly meshWithDepthTest: THREE.Mesh<THREE.BufferGeometry, THREE.ShaderMaterial>;
|
|
34
34
|
readonly meshWithoutDepthTest: THREE.Mesh<THREE.BufferGeometry, THREE.ShaderMaterial>;
|
|
35
|
+
visible: boolean | null;
|
|
35
36
|
private five;
|
|
36
37
|
private mode;
|
|
37
38
|
private _curvePath;
|
|
@@ -43,7 +44,6 @@ declare class GuideLineModeItem {
|
|
|
43
44
|
private width;
|
|
44
45
|
private unitLength;
|
|
45
46
|
private _visibleFloorIndexes;
|
|
46
|
-
private visible;
|
|
47
47
|
/** Five Mode 是否满足 */
|
|
48
48
|
private modeVisible;
|
|
49
49
|
/** 楼层是否满足展示条件 */
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.53.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.53.3",
|
|
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",
|