Переглянути джерело

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 );
 
 			}