Ver Fonte

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

sunag há 1 ano atrás
pai
commit
84785542af
1 ficheiros alterados com 1 adições e 1 exclusões
  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 );
 
 			}