Browse Source

Updated builds.

Mugen87 2 years ago
parent
commit
4a4544bd74
4 changed files with 15 additions and 6 deletions
  1. 5 2
      build/three.cjs
  2. 5 2
      build/three.js
  3. 0 0
      build/three.min.js
  4. 5 2
      build/three.module.js

+ 5 - 2
build/three.cjs

@@ -29333,8 +29333,8 @@ class Scene extends Object3D {
 		const data = super.toJSON( meta );
 
 		if ( this.fog !== null ) data.object.fog = this.fog.toJSON();
-		if ( this.backgroundBlurriness > 0 ) data.backgroundBlurriness = this.backgroundBlurriness;
-		if ( this.backgroundIntensity !== 1 ) data.backgroundIntensity = this.backgroundIntensity;
+		if ( this.backgroundBlurriness > 0 ) data.object.backgroundBlurriness = this.backgroundBlurriness;
+		if ( this.backgroundIntensity !== 1 ) data.object.backgroundIntensity = this.backgroundIntensity;
 
 		return data;
 
@@ -43243,6 +43243,7 @@ class ObjectLoader extends Loader {
 				}
 
 				if ( data.backgroundBlurriness !== undefined ) object.backgroundBlurriness = data.backgroundBlurriness;
+				if ( data.backgroundIntensity !== undefined ) object.backgroundIntensity = data.backgroundIntensity;
 
 				break;
 
@@ -47639,6 +47640,8 @@ class GLBufferAttribute {
 
 		this.isGLBufferAttribute = true;
 
+		this.name = '';
+
 		this.buffer = buffer;
 		this.type = type;
 		this.itemSize = itemSize;

+ 5 - 2
build/three.js

@@ -29337,8 +29337,8 @@
 			const data = super.toJSON( meta );
 
 			if ( this.fog !== null ) data.object.fog = this.fog.toJSON();
-			if ( this.backgroundBlurriness > 0 ) data.backgroundBlurriness = this.backgroundBlurriness;
-			if ( this.backgroundIntensity !== 1 ) data.backgroundIntensity = this.backgroundIntensity;
+			if ( this.backgroundBlurriness > 0 ) data.object.backgroundBlurriness = this.backgroundBlurriness;
+			if ( this.backgroundIntensity !== 1 ) data.object.backgroundIntensity = this.backgroundIntensity;
 
 			return data;
 
@@ -43247,6 +43247,7 @@
 					}
 
 					if ( data.backgroundBlurriness !== undefined ) object.backgroundBlurriness = data.backgroundBlurriness;
+					if ( data.backgroundIntensity !== undefined ) object.backgroundIntensity = data.backgroundIntensity;
 
 					break;
 
@@ -47643,6 +47644,8 @@
 
 			this.isGLBufferAttribute = true;
 
+			this.name = '';
+
 			this.buffer = buffer;
 			this.type = type;
 			this.itemSize = itemSize;

File diff suppressed because it is too large
+ 0 - 0
build/three.min.js


+ 5 - 2
build/three.module.js

@@ -29331,8 +29331,8 @@ class Scene extends Object3D {
 		const data = super.toJSON( meta );
 
 		if ( this.fog !== null ) data.object.fog = this.fog.toJSON();
-		if ( this.backgroundBlurriness > 0 ) data.backgroundBlurriness = this.backgroundBlurriness;
-		if ( this.backgroundIntensity !== 1 ) data.backgroundIntensity = this.backgroundIntensity;
+		if ( this.backgroundBlurriness > 0 ) data.object.backgroundBlurriness = this.backgroundBlurriness;
+		if ( this.backgroundIntensity !== 1 ) data.object.backgroundIntensity = this.backgroundIntensity;
 
 		return data;
 
@@ -43241,6 +43241,7 @@ class ObjectLoader extends Loader {
 				}
 
 				if ( data.backgroundBlurriness !== undefined ) object.backgroundBlurriness = data.backgroundBlurriness;
+				if ( data.backgroundIntensity !== undefined ) object.backgroundIntensity = data.backgroundIntensity;
 
 				break;
 
@@ -47637,6 +47638,8 @@ class GLBufferAttribute {
 
 		this.isGLBufferAttribute = true;
 
+		this.name = '';
+
 		this.buffer = buffer;
 		this.type = type;
 		this.itemSize = itemSize;

Some files were not shown because too many files changed in this diff