Browse Source

Updated builds.

Mr.doob 3 years ago
parent
commit
50bcb8d991
4 changed files with 3 additions and 3 deletions
  1. 1 1
      build/three.cjs
  2. 1 1
      build/three.js
  3. 0 0
      build/three.min.js
  4. 1 1
      build/three.module.js

+ 1 - 1
build/three.cjs

@@ -6258,7 +6258,7 @@ class Object3D extends EventDispatcher {
 				}
 			}
 
-			if (this.environment && this.environment.isTexture) {
+			if (this.environment && this.environment.isTexture && this.environment.isRenderTargetTexture !== true) {
 				object.environment = this.environment.toJSON(meta).uuid;
 			}
 		} else if (this.isMesh || this.isLine || this.isPoints) {

+ 1 - 1
build/three.js

@@ -6260,7 +6260,7 @@
 					}
 				}
 
-				if (this.environment && this.environment.isTexture) {
+				if (this.environment && this.environment.isTexture && this.environment.isRenderTargetTexture !== true) {
 					object.environment = this.environment.toJSON(meta).uuid;
 				}
 			} else if (this.isMesh || this.isLine || this.isPoints) {

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


+ 1 - 1
build/three.module.js

@@ -8144,7 +8144,7 @@ class Object3D extends EventDispatcher {
 
 			}
 
-			if ( this.environment && this.environment.isTexture ) {
+			if ( this.environment && this.environment.isTexture && this.environment.isRenderTargetTexture !== true ) {
 
 				object.environment = this.environment.toJSON( meta ).uuid;
 

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