Explorar o código

Merge pull request #15884 from Itee/strucnode-fix

StrucNode: Add missing this keyword
Mr.doob %!s(int64=7) %!d(string=hai) anos
pai
achega
c867016ff2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/js/nodes/core/StructNode.js

+ 1 - 1
examples/js/nodes/core/StructNode.js

@@ -49,7 +49,7 @@ StructNode.prototype.generate = function ( builder, output ) {
 
 	} else {
 
-		return builder.format( '( ' + src + ' )', this.getType( builder ), output );
+		return builder.format( '( ' + this.src + ' )', this.getType( builder ), output );
 
 	}
 

粤ICP备19079148号