浏览代码

Cleanup from https://github.com/mrdoob/three.js/pull/27243

sunag 1 年之前
父节点
当前提交
84785542af
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/jsm/nodes/display/ViewportDepthNode.js

+ 1 - 1
examples/jsm/nodes/display/ViewportDepthNode.js

@@ -52,7 +52,7 @@ class ViewportDepthNode extends Node {
 
 			if ( this.valueNode !== null ) {
 
-				depthPixelBase().assign( this.valueNode );
+ 				node = depthPixelBase().assign( this.valueNode );
 
 			}