Sfoglia il codice sorgente

ReflectorNode: Added missing `nodeObject` (#29627)

sunag 1 anno fa
parent
commit
682e2fc0f5
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/nodes/utils/ReflectorNode.js

+ 2 - 2
src/nodes/utils/ReflectorNode.js

@@ -76,10 +76,10 @@ class ReflectorNode extends TextureNode {
 
 			}
 
-			this._depthNode = new ReflectorNode( {
+			this._depthNode = nodeObject( new ReflectorNode( {
 				defaultTexture: _defaultRT.depthTexture,
 				reflector: this._reflectorBaseNode
-			} );
+			} ) );
 
 		}
 

粤ICP备19079148号