Browse Source

TSL: Fix analyze in `varying()` (#28746)

sunag 1 năm trước cách đây
mục cha
commit
b508f36fe7

+ 8 - 0
examples/jsm/nodes/core/VaryingNode.js

@@ -64,6 +64,14 @@ class VaryingNode extends Node {
 
 
 	}
 	}
 
 
+	analyze( builder ) {
+
+		this.setupVarying( builder );
+
+		return this.node.analyze( builder );
+
+	}
+
 	generate( builder ) {
 	generate( builder ) {
 
 
 		const properties = builder.getNodeProperties( this );
 		const properties = builder.getNodeProperties( this );