@thatopen/components 3.4.5 → 3.4.6
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.cjs +6 -2
- package/dist/index.min.cjs +1 -1
- package/dist/index.min.mjs +1 -1
- package/dist/index.mjs +6 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -12803,7 +12803,9 @@ const _FastModelPicker = class _FastModelPicker {
|
|
|
12803
12803
|
return;
|
|
12804
12804
|
}
|
|
12805
12805
|
this._originalMaterials.set(child, child.material);
|
|
12806
|
-
|
|
12806
|
+
const original = child.material;
|
|
12807
|
+
const len = Array.isArray(original) ? original.length : 1;
|
|
12808
|
+
child.material = new Array(len).fill(this._idMaterial);
|
|
12807
12809
|
any = true;
|
|
12808
12810
|
});
|
|
12809
12811
|
if (any)
|
|
@@ -12973,7 +12975,9 @@ const _FastModelPicker = class _FastModelPicker {
|
|
|
12973
12975
|
if (!child.visible)
|
|
12974
12976
|
return;
|
|
12975
12977
|
matSwap.set(child, child.material);
|
|
12976
|
-
|
|
12978
|
+
const original = child.material;
|
|
12979
|
+
const len = Array.isArray(original) ? original.length : 1;
|
|
12980
|
+
child.material = new Array(len).fill(material);
|
|
12977
12981
|
});
|
|
12978
12982
|
}
|
|
12979
12983
|
const bimRoots = /* @__PURE__ */ new Set();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thatopen/components",
|
|
3
3
|
"description": "Collection of core functionalities to author BIM apps.",
|
|
4
|
-
"version": "3.4.
|
|
4
|
+
"version": "3.4.6",
|
|
5
5
|
"author": "That Open Company",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Antonio Gonzalez Viegas (https://github.com/agviegas)",
|