shop-components 0.1.15 → 0.1.16
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/shop-components.mjs
CHANGED
|
@@ -62476,10 +62476,10 @@ class wK extends be {
|
|
|
62476
62476
|
if (e.material)
|
|
62477
62477
|
if (Array.isArray(e.material))
|
|
62478
62478
|
e.material.forEach((i) => {
|
|
62479
|
-
i.userData.changeColor && this.skins.push(new e2({
|
|
62479
|
+
i.userData.changeColor && (this.skins.find((r) => r.name === i.userData.name) || this.skins.push(new e2({
|
|
62480
62480
|
name: i.userData.name,
|
|
62481
62481
|
target: i
|
|
62482
|
-
}));
|
|
62482
|
+
})));
|
|
62483
62483
|
});
|
|
62484
62484
|
else {
|
|
62485
62485
|
if (e.material.userData.isBreathLight && e.material.emissiveIntensity) {
|
|
@@ -62489,10 +62489,10 @@ class wK extends be {
|
|
|
62489
62489
|
}).easing(Ts.Easing.Quintic.InOut).duration(1e3).start().yoyo(!0).repeat(1 / 0);
|
|
62490
62490
|
this._breathLights.push(i);
|
|
62491
62491
|
}
|
|
62492
|
-
e.material.userData.changeColor && this.skins.push(new e2({
|
|
62492
|
+
e.material.userData.changeColor && (this.skins.find((i) => i.name === e.material.userData.name) || this.skins.push(new e2({
|
|
62493
62493
|
name: e.material.userData.name,
|
|
62494
62494
|
target: e.material
|
|
62495
|
-
}));
|
|
62495
|
+
})));
|
|
62496
62496
|
}
|
|
62497
62497
|
if (e.material)
|
|
62498
62498
|
if (Array.isArray(e.material))
|