Explorar o código

Update RemapNode.js

Fix assignment to `const` bug.
Michael Herzog %!s(int64=4) %!d(string=hai) anos
pai
achega
0a059efdef
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      examples/jsm/nodes/utils/RemapNode.js

+ 2 - 2
examples/jsm/nodes/utils/RemapNode.js

@@ -132,7 +132,7 @@ RemapNode.prototype.copy = function ( source ) {
 
 RemapNode.prototype.toJSON = function ( meta ) {
 
-	const data = this.getJSONNode( meta );
+	let data = this.getJSONNode( meta );
 
 	if ( ! data ) {
 
@@ -150,4 +150,4 @@ RemapNode.prototype.toJSON = function ( meta ) {
 
 };
 
-export { RemapNode };
+export { RemapNode };

粤ICP备19079148号