Explorar o código

CacheNode: Fix `parent` reference. (#29369)

Michael Herzog hai 1 ano
pai
achega
e9aebe2ab4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/nodes/core/CacheNode.js

+ 1 - 1
src/nodes/core/CacheNode.js

@@ -29,7 +29,7 @@ class CacheNode extends Node {
 	build( builder, ...params ) {
 
 		const previousCache = builder.getCache();
-		const cache = builder.getCacheFromNode( this, parent );
+		const cache = builder.getCacheFromNode( this, this.parent );
 
 		builder.setCache( cache );
 

粤ICP备19079148号