Browse Source

Updated builds.

Mr.doob 2 years ago
parent
commit
eec087cf9a
4 changed files with 9 additions and 18 deletions
  1. 3 5
      build/three.cjs
  2. 3 5
      build/three.js
  3. 0 0
      build/three.min.js
  4. 3 8
      build/three.module.js

+ 3 - 5
build/three.cjs

@@ -18516,6 +18516,9 @@ function WebGLRenderer(parameters = {}) {
 		_currentActiveCubeFace = activeCubeFace;
 		_currentActiveMipmapLevel = activeMipmapLevel;
 		let useDefaultFramebuffer = true;
+		let framebuffer = null;
+		let isCube = false;
+		let isRenderTarget3D = false;
 		if (renderTarget) {
 			const renderTargetProperties = properties.get(renderTarget);
 			if (renderTargetProperties.__useDefaultFramebuffer !== undefined) {
@@ -18528,11 +18531,6 @@ function WebGLRenderer(parameters = {}) {
 				// Color and depth texture must be rebound in order for the swapchain to update.
 				textures.rebindTextures(renderTarget, properties.get(renderTarget.texture).__webglTexture, properties.get(renderTarget.depthTexture).__webglTexture);
 			}
-		}
-		let framebuffer = null;
-		let isCube = false;
-		let isRenderTarget3D = false;
-		if (renderTarget) {
 			const texture = renderTarget.texture;
 			if (texture.isData3DTexture || texture.isDataArrayTexture || texture.isCompressedArrayTexture) {
 				isRenderTarget3D = true;

+ 3 - 5
build/three.js

@@ -18518,6 +18518,9 @@
 			_currentActiveCubeFace = activeCubeFace;
 			_currentActiveMipmapLevel = activeMipmapLevel;
 			let useDefaultFramebuffer = true;
+			let framebuffer = null;
+			let isCube = false;
+			let isRenderTarget3D = false;
 			if (renderTarget) {
 				const renderTargetProperties = properties.get(renderTarget);
 				if (renderTargetProperties.__useDefaultFramebuffer !== undefined) {
@@ -18530,11 +18533,6 @@
 					// Color and depth texture must be rebound in order for the swapchain to update.
 					textures.rebindTextures(renderTarget, properties.get(renderTarget.texture).__webglTexture, properties.get(renderTarget.depthTexture).__webglTexture);
 				}
-			}
-			let framebuffer = null;
-			let isCube = false;
-			let isRenderTarget3D = false;
-			if (renderTarget) {
 				const texture = renderTarget.texture;
 				if (texture.isData3DTexture || texture.isDataArrayTexture || texture.isCompressedArrayTexture) {
 					isRenderTarget3D = true;

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


+ 3 - 8
build/three.module.js

@@ -28629,6 +28629,9 @@ function WebGLRenderer( parameters = {} ) {
 		_currentActiveMipmapLevel = activeMipmapLevel;
 
 		let useDefaultFramebuffer = true;
+		let framebuffer = null;
+		let isCube = false;
+		let isRenderTarget3D = false;
 
 		if ( renderTarget ) {
 
@@ -28651,14 +28654,6 @@ function WebGLRenderer( parameters = {} ) {
 
 			}
 
-		}
-
-		let framebuffer = null;
-		let isCube = false;
-		let isRenderTarget3D = false;
-
-		if ( renderTarget ) {
-
 			const texture = renderTarget.texture;
 
 			if ( texture.isData3DTexture || texture.isDataArrayTexture || texture.isCompressedArrayTexture ) {

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