Explorar o código

ReflectorNode: Added missing `nodeObject` (#29627)

sunag hai 1 ano
pai
achega
682e2fc0f5
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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号