endset_three_editor 0.10.25 → 0.10.27

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.
@@ -5896,7 +5896,13 @@ async function Dl(r, e = "edit", t, n, s, i, o) {
5896
5896
  if (!v || v.uniforms) return;
5897
5897
  const D = Array.isArray(v) ? v : [v];
5898
5898
  for (const O of D)
5899
- O && O.transparent && O.opacity >= 0.999 && (O.transparent = !1, O.needsUpdate = !0);
5899
+ if (O) {
5900
+ if (O.transparent && O.opacity <= 0.01) {
5901
+ O.opacity = 1, O.transparent = !1, O.needsUpdate = !0;
5902
+ continue;
5903
+ }
5904
+ O.transparent && O.opacity >= 0.999 && !O.alphaMap && (O.transparent = !1, O.needsUpdate = !0);
5905
+ }
5900
5906
  }), js();
5901
5907
  } else {
5902
5908
  const h = typeof r == "string" ? JSON.parse(r) : r, w = new R.ObjectLoader().parse(h);