Explorar o código

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

sunag hai 1 ano
pai
achega
84785542af
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 ) {
 			if ( this.valueNode !== null ) {
 
 
-				depthPixelBase().assign( this.valueNode );
+ 				node = depthPixelBase().assign( this.valueNode );
 
 
 			}
 			}