Răsfoiți Sursa

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

sunag 1 an în urmă
părinte
comite
84785542af
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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 );
 
 			}