2
0
sunag 7 жил өмнө
parent
commit
1042ada6d9

+ 1 - 1
examples/js/nodes/inputs/ColorNode.js

@@ -34,7 +34,7 @@ THREE.ColorNode.prototype.toJSON = function ( meta ) {
 		data.g = this.g;
 		data.b = this.b;
 
-		if ( this.readyonly === true ) data.readyonly = true;
+		if ( this.readonly === true ) data.readonly = true;
 
 	}
 

+ 1 - 1
examples/js/nodes/inputs/FloatNode.js

@@ -47,7 +47,7 @@ THREE.FloatNode.prototype.toJSON = function ( meta ) {
 
 		data.number = this.number;
 
-		if ( this.readyonly === true ) data.readyonly = true;
+		if ( this.readonly === true ) data.readonly = true;
 
 	}
 

+ 1 - 1
examples/js/nodes/inputs/IntNode.js

@@ -45,7 +45,7 @@ THREE.IntNode.prototype.toJSON = function ( meta ) {
 
 		data.number = this.number;
 
-		if ( this.readyonly === true ) data.readyonly = true;
+		if ( this.readonly === true ) data.readonly = true;
 
 	}
 

+ 2 - 2
examples/js/nodes/inputs/Matrix3Node.js

@@ -16,7 +16,7 @@ THREE.Matrix3Node.prototype.nodeType = "Matrix3";
 
 THREE.Matrix3Node.prototype.generateReadonly = function ( builder, output, uuid, type, ns, needsUpdate ) {
 
-	return builder.format( "mat3( " + this.value.elements.joint( ", " ) + " )", type, output );
+	return builder.format( "mat3( " + this.value.elements.join( ", " ) + " )", type, output );
 
 };
 
@@ -30,7 +30,7 @@ THREE.Matrix3Node.prototype.toJSON = function ( meta ) {
 
 		data.elements = this.value.elements.concat();
 
-		if ( this.readyonly === true ) data.readyonly = true;
+		if ( this.readonly === true ) data.readonly = true;
 
 	}
 

+ 2 - 2
examples/js/nodes/inputs/Matrix4Node.js

@@ -16,7 +16,7 @@ THREE.Matrix4Node.prototype.nodeType = "Matrix4";
 
 THREE.Matrix4Node.prototype.generateReadonly = function ( builder, output, uuid, type, ns, needsUpdate ) {
 
-	return builder.format( "mat4( " + this.value.elements.joint( ", " ) + " )", type, output );
+	return builder.format( "mat4( " + this.value.elements.join( ", " ) + " )", type, output );
 
 };
 
@@ -30,7 +30,7 @@ THREE.Matrix4Node.prototype.toJSON = function ( meta ) {
 
 		data.elements = this.value.elements.concat();
 
-		if ( this.readyonly === true ) data.readyonly = true;
+		if ( this.readonly === true ) data.readonly = true;
 
 	}
 

+ 1 - 1
examples/js/nodes/inputs/Vector2Node.js

@@ -33,7 +33,7 @@ THREE.Vector2Node.prototype.toJSON = function ( meta ) {
 		data.x = this.x;
 		data.y = this.y;
 
-		if ( this.readyonly === true ) data.readyonly = true;
+		if ( this.readonly === true ) data.readonly = true;
 
 	}
 

+ 1 - 1
examples/js/nodes/inputs/Vector3Node.js

@@ -35,7 +35,7 @@ THREE.Vector3Node.prototype.toJSON = function ( meta ) {
 		data.y = this.y;
 		data.z = this.z;
 
-		if ( this.readyonly === true ) data.readyonly = true;
+		if ( this.readonly === true ) data.readonly = true;
 
 	}
 

+ 1 - 1
examples/js/nodes/inputs/Vector4Node.js

@@ -35,7 +35,7 @@ THREE.Vector4Node.prototype.toJSON = function ( meta ) {
 		data.z = this.z;
 		data.w = this.w;
 
-		if ( this.readyonly === true ) data.readyonly = true;
+		if ( this.readonly === true ) data.readonly = true;
 
 	}