Selaa lähdekoodia

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

sunag 1 vuosi sitten
vanhempi
commit
b508f36fe7
1 muutettua tiedostoa jossa 8 lisäystä ja 0 poistoa
  1. 8 0
      examples/jsm/nodes/core/VaryingNode.js

+ 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 ) {
 
 		const properties = builder.getNodeProperties( this );