浏览代码

r138 (bis)

Mr.doob 3 年之前
父节点
当前提交
a2a6b0bbaa
共有 5 个文件被更改,包括 4 次插入4 次删除
  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
  5. 1 1
      package.json

+ 1 - 1
build/three.cjs

@@ -17649,7 +17649,7 @@ function WebGLTextures(_gl, extensions, state, properties, capabilities, utils,
 			}
 
 			const renderTargetProperties = properties.get(renderTarget);
-			const ignoreDepthValues = renderTargetProperties.__ignoreDepthValues !== undefined ? renderTargetProperties.__ignoreDepthValues : true;
+			const ignoreDepthValues = renderTargetProperties.__ignoreDepthValues !== undefined ? renderTargetProperties.__ignoreDepthValues : false;
 
 			if (ignoreDepthValues === false) {
 				if (renderTarget.depthBuffer) mask |= _gl.DEPTH_BUFFER_BIT;

+ 1 - 1
build/three.js

@@ -17651,7 +17651,7 @@
 				}
 
 				const renderTargetProperties = properties.get(renderTarget);
-				const ignoreDepthValues = renderTargetProperties.__ignoreDepthValues !== undefined ? renderTargetProperties.__ignoreDepthValues : true;
+				const ignoreDepthValues = renderTargetProperties.__ignoreDepthValues !== undefined ? renderTargetProperties.__ignoreDepthValues : false;
 
 				if (ignoreDepthValues === false) {
 					if (renderTarget.depthBuffer) mask |= _gl.DEPTH_BUFFER_BIT;

文件差异内容过多而无法显示
+ 0 - 0
build/three.min.js


+ 1 - 1
build/three.module.js

@@ -23875,7 +23875,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
 			}
 
 			const renderTargetProperties = properties.get( renderTarget );
-			const ignoreDepthValues = ( renderTargetProperties.__ignoreDepthValues !== undefined ) ? renderTargetProperties.__ignoreDepthValues : true;
+			const ignoreDepthValues = ( renderTargetProperties.__ignoreDepthValues !== undefined ) ? renderTargetProperties.__ignoreDepthValues : false;
 
 			if ( ignoreDepthValues === false ) {
 

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "three",
-  "version": "0.138.0",
+  "version": "0.138.1",
   "description": "JavaScript 3D library",
   "type": "module",
   "main": "./build/three.js",

部分文件因为文件数量过多而无法显示