endset_three_editor 0.9.6 → 0.9.7
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/three-editor.es.js
CHANGED
|
@@ -5593,7 +5593,7 @@ async function Xa(r, e = "edit", t, n, s, i) {
|
|
|
5593
5593
|
} else
|
|
5594
5594
|
Qn(f);
|
|
5595
5595
|
if (h)
|
|
5596
|
-
I.scene.environment = h;
|
|
5596
|
+
I.scene.environment = h, I.scene.environmentIntensity = 1;
|
|
5597
5597
|
else if (I.renderer) {
|
|
5598
5598
|
const y = Ms(I.renderer);
|
|
5599
5599
|
y && (I.scene.environment = y, I.scene.environmentIntensity = 1);
|
|
@@ -5603,7 +5603,7 @@ async function Xa(r, e = "edit", t, n, s, i) {
|
|
|
5603
5603
|
if (h.type === "Scene") {
|
|
5604
5604
|
const y = (c = I.scene) == null ? void 0 : c.environment;
|
|
5605
5605
|
if (I.scene = h, y)
|
|
5606
|
-
I.scene.environment = y;
|
|
5606
|
+
I.scene.environment = y, I.scene.environmentIntensity = 1;
|
|
5607
5607
|
else if (I.renderer) {
|
|
5608
5608
|
const C = Ms(I.renderer);
|
|
5609
5609
|
C && (I.scene.environment = C, I.scene.environmentIntensity = 1);
|