|
@@ -35,7 +35,8 @@ InstancedBufferGeometry.prototype = Object.assign( Object.create( BufferGeometry
|
|
|
|
|
|
},
|
|
|
|
|
|
- toJSON: function(){
|
|
|
+ toJSON: function () {
|
|
|
+
|
|
|
var data = BufferGeometry.prototype.toJSON.call( this );
|
|
|
|
|
|
data.maxInstancedCount = this.maxInstancedCount;
|
|
@@ -43,6 +44,7 @@ InstancedBufferGeometry.prototype = Object.assign( Object.create( BufferGeometry
|
|
|
data.isInstancedBufferGeometry = true;
|
|
|
|
|
|
return data;
|
|
|
+
|
|
|
}
|
|
|
|
|
|
} );
|