@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.
package/dist/index.js
CHANGED
|
@@ -39,7 +39,7 @@ import dl from "animejs";
|
|
|
39
39
|
import { GLTFLoader as Zf } from "@realsee/five/gltf-loader";
|
|
40
40
|
function qf() {
|
|
41
41
|
console.debug(
|
|
42
|
-
"%c %c@realsee/dnalogel %cv3.2.
|
|
42
|
+
"%c %c@realsee/dnalogel %cv3.2.2",
|
|
43
43
|
[
|
|
44
44
|
"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=')",
|
|
45
45
|
"background-repeat: no-repeat",
|
|
@@ -7085,7 +7085,7 @@ let Vn = class {
|
|
|
7085
7085
|
/**
|
|
7086
7086
|
* @realsee/dnalogel 版本号
|
|
7087
7087
|
*/
|
|
7088
|
-
u(this, "VERSION", "3.2.
|
|
7088
|
+
u(this, "VERSION", "3.2.2");
|
|
7089
7089
|
u(this, "five");
|
|
7090
7090
|
/**
|
|
7091
7091
|
* 插件事件钩子
|
|
@@ -28922,7 +28922,7 @@ class ba {
|
|
|
28922
28922
|
}
|
|
28923
28923
|
setTag(t, e) {
|
|
28924
28924
|
const i = this.curvePath, s = t === "start" ? this.startTagContainer : this.endTagContainer;
|
|
28925
|
-
e || s.plugin.clearTags();
|
|
28925
|
+
e != null && e.data || s.plugin.clearTags();
|
|
28926
28926
|
const r = Re({}, {
|
|
28927
28927
|
contentType: "Custom",
|
|
28928
28928
|
stickType: "2DPoint",
|
|
@@ -28937,7 +28937,7 @@ class ba {
|
|
|
28937
28937
|
return s.app = d, () => d.$destroy();
|
|
28938
28938
|
}), s.plugin.load({ tagList: [s.tag] });
|
|
28939
28939
|
const a = this.meshStyle.translate;
|
|
28940
|
-
if (a) {
|
|
28940
|
+
if (a && r.position) {
|
|
28941
28941
|
const l = new P.Vector3().fromArray(r.position), c = new P.Vector3().fromArray(a);
|
|
28942
28942
|
l.add(c), l.y += this.heightOffset;
|
|
28943
28943
|
const d = l.toArray();
|