iflow-engine-base 2.1.0 → 2.1.1
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.
|
@@ -10031,7 +10031,7 @@ function Bu(o, e, t) {
|
|
|
10031
10031
|
indexes: /* @__PURE__ */ new Map()
|
|
10032
10032
|
}) : (n.find((r) => r.glb == i.glb).meshes.push(i), n.find((r) => r.glb == i.glb).currentIndex += i.geometry.index.count);
|
|
10033
10033
|
let s = n.find((r) => r.glb == i.glb);
|
|
10034
|
-
s.indexes.set(Number(i.name), [s.currentIndex - i.geometry.index.count, s.currentIndex]);
|
|
10034
|
+
s.indexes.has(Number(i.name)) ? s.indexes.get(Number(i.name)).push([s.currentIndex - i.geometry.index.count, s.currentIndex]) : s.indexes.set(Number(i.name), [[s.currentIndex - i.geometry.index.count, s.currentIndex]]);
|
|
10035
10035
|
}), n.forEach((i) => {
|
|
10036
10036
|
let s = e.scene.children.find((r) => r instanceof M.Mesh && r.url == o && r.glb == i.glb);
|
|
10037
10037
|
if (s != null)
|
|
@@ -10045,7 +10045,9 @@ function Bu(o, e, t) {
|
|
|
10045
10045
|
if (h != null) {
|
|
10046
10046
|
let c = 0;
|
|
10047
10047
|
i.indexes.forEach((d) => {
|
|
10048
|
-
|
|
10048
|
+
d.forEach((m) => {
|
|
10049
|
+
h.nodesMap.get(Number(i.meshes[c].name)).indexes == null && (h.nodesMap.get(Number(i.meshes[c].name)).indexes = []), h.nodesMap.get(Number(i.meshes[c].name)).indexes.push([l.index, c++, m[0], m[1]]);
|
|
10050
|
+
});
|
|
10049
10051
|
});
|
|
10050
10052
|
}
|
|
10051
10053
|
}
|
|
@@ -18794,7 +18796,7 @@ class kp {
|
|
|
18794
18796
|
// 业务数据
|
|
18795
18797
|
models = [];
|
|
18796
18798
|
reactBoundingClientRect = { left: 0, top: 0 };
|
|
18797
|
-
version = "2.1.
|
|
18799
|
+
version = "2.1.1";
|
|
18798
18800
|
versionEl = null;
|
|
18799
18801
|
// 引擎容器
|
|
18800
18802
|
container;
|