Browse Source

Fix toJSON call

Temdog007 6 years ago
parent
commit
a11243ef0d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/InstancedBufferGeometry.js

+ 1 - 1
src/core/InstancedBufferGeometry.js

@@ -36,7 +36,7 @@ InstancedBufferGeometry.prototype = Object.assign( Object.create( BufferGeometry
 	},
 
 	toJSON: function(){
-		var data = InstancedBufferGeometry.prototype.toJSON.call( this );
+		var data = BufferGeometry.prototype.toJSON.call( this );
 
 		data.maxInstancedCount = this.maxInstancedCount;