Browse Source

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

sunag 1 năm trước cách đây
mục cha
commit
84785542af
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 );
 
 			}