Skip to content

Commit 09eafbe

Browse files
authored
TSL Transpiler: Remove the need for .toVar() (#31580)
1 parent 93b9620 commit 09eafbe

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

examples/jsm/transpiler/TSLEncoder.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -665,15 +665,7 @@ ${ this.tab }} )`;
665665

666666
}
667667

668-
if ( node.linker.assignments.length > 0 ) {
669-
670-
varStr += ' = ' + valueStr + '.toVar()';
671-
672-
} else {
673-
674-
varStr += ' = ' + valueStr;
675-
676-
}
668+
varStr += ' = ' + valueStr;
677669

678670
} else {
679671

0 commit comments

Comments
 (0)