@realsee/dnalogel 3.50.6 → 3.50.8
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/index.cjs.js +4 -4
- package/dist/index.js +8 -6
- package/dist/index.umd.js +4 -4
- package/libs/CruisePlugin/Work.js +92 -90
- package/libs/Sculpt/utils/Meshes/getLengthHTML.js +6 -6
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
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.
|
|
51
|
+
"%c %c@realsee/dnalogel %cv3.50.8",
|
|
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",
|
|
@@ -21547,7 +21547,7 @@ function vg(e, n) {
|
|
|
21547
21547
|
`;
|
|
21548
21548
|
}
|
|
21549
21549
|
return `
|
|
21550
|
-
<div class="LineLengthTag" style="${n.style}">
|
|
21550
|
+
<div class="LineLengthTag" style="${n == null ? void 0 : n.style}">
|
|
21551
21551
|
<div>${e}</div>
|
|
21552
21552
|
<div>${e}</div>
|
|
21553
21553
|
</div>
|
|
@@ -27811,7 +27811,7 @@ let ws = class {
|
|
|
27811
27811
|
/**
|
|
27812
27812
|
* @realsee/dnalogel 版本号
|
|
27813
27813
|
*/
|
|
27814
|
-
v(this, "VERSION", "3.50.
|
|
27814
|
+
v(this, "VERSION", "3.50.8");
|
|
27815
27815
|
v(this, "NAME");
|
|
27816
27816
|
v(this, "five");
|
|
27817
27817
|
v(this, "workUtil");
|
|
@@ -51236,12 +51236,14 @@ class nv extends VM {
|
|
|
51236
51236
|
* @description: Change play speed
|
|
51237
51237
|
*/
|
|
51238
51238
|
changeSpeed(t, i = !0) {
|
|
51239
|
+
var l;
|
|
51239
51240
|
const { state: r, privateState: s, hooks: o } = this, { currentPlayKeyframe: a } = s;
|
|
51240
51241
|
if (o.emit("speedChange", t, { userAction: i }), r.playing && a)
|
|
51241
51242
|
try {
|
|
51242
|
-
const
|
|
51243
|
-
|
|
51244
|
-
} catch (
|
|
51243
|
+
const c = a.originDuration !== void 0 ? a.originDuration * (1 - this.getProgress()) : void 0, h = a.keyframe, { privateState: u } = this;
|
|
51244
|
+
((l = this.privateState.currentPlayKeyframe) == null ? void 0 : l.keyframe.id) !== h.id && (this.privateState.currentPlayKeyframe = { keyframe: h }), u.currentPlayQueue.push(this.getPlayPromise(h, { duration: c }));
|
|
51245
|
+
} catch (c) {
|
|
51246
|
+
console.error(c);
|
|
51245
51247
|
}
|
|
51246
51248
|
}
|
|
51247
51249
|
/**
|