Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/core/BufferGeometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@ class BufferGeometry extends EventDispatcher {

const data = {
metadata: {
version: 4.6,
version: 4.7,
type: 'BufferGeometry',
generator: 'BufferGeometry.toJSON'
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/Object3D.js
Original file line number Diff line number Diff line change
Expand Up @@ -1246,7 +1246,7 @@ class Object3D extends EventDispatcher {
};

output.metadata = {
version: 4.6,
version: 4.7,
type: 'Object',
generator: 'Object3D.toJSON'
};
Expand Down
2 changes: 1 addition & 1 deletion src/extras/core/Curve.js
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ class Curve {

const data = {
metadata: {
version: 4.6,
version: 4.7,
type: 'Curve',
generator: 'Curve.toJSON'
}
Expand Down
2 changes: 1 addition & 1 deletion src/materials/Material.js
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ class Material extends EventDispatcher {

const data = {
metadata: {
version: 4.6,
version: 4.7,
type: 'Material',
generator: 'Material.toJSON'
}
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/core/Node.js
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ class Node extends EventDispatcher {
type,
meta,
metadata: {
version: 4.6,
version: 4.7,
type: 'Node',
generator: 'Node.toJSON'
}
Expand Down
2 changes: 1 addition & 1 deletion src/objects/Skeleton.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ class Skeleton {

const data = {
metadata: {
version: 4.6,
version: 4.7,
type: 'Skeleton',
generator: 'Skeleton.toJSON'
},
Expand Down
2 changes: 1 addition & 1 deletion src/textures/Texture.js
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ class Texture extends EventDispatcher {
const output = {

metadata: {
version: 4.6,
version: 4.7,
type: 'Texture',
generator: 'Texture.toJSON'
},
Expand Down
2 changes: 1 addition & 1 deletion test/unit/src/core/BufferGeometry.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ export default QUnit.module( 'Core', () => {
let j = a.toJSON();
const gold = {
'metadata': {
'version': 4.6,
'version': 4.7,
'type': 'BufferGeometry',
'generator': 'BufferGeometry.toJSON'
},
Expand Down
2 changes: 1 addition & 1 deletion test/unit/src/core/Object3D.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,7 @@ export default QUnit.module( 'Core', () => {

const gold = {
'metadata': {
'version': 4.6,
'version': 4.7,
'type': 'Object',
'generator': 'Object3D.toJSON'
},
Expand Down
4 changes: 2 additions & 2 deletions test/unit/utils/qunit-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function getDifferingProp( geometryA, geometryB ) {
// Compare json file with its source geometry.
function checkGeometryJsonWriting( geom, json ) {

QUnit.assert.equal( json.metadata.version, '4.6', 'check metadata version' );
QUnit.assert.equal( json.metadata.version, '4.7', 'check metadata version' );
QUnit.assert.equalKey( geom, json, 'type' );
QUnit.assert.equalKey( geom, json, 'uuid' );
QUnit.assert.equal( json.id, undefined, 'should not persist id' );
Expand Down Expand Up @@ -270,7 +270,7 @@ function checkLightCopyClone( assert, light ) {
// Compare json file with its source Light.
function checkLightJsonWriting( assert, light, json ) {

assert.equal( json.metadata.version, '4.6', 'check metadata version' );
assert.equal( json.metadata.version, '4.7', 'check metadata version' );

const object = json.object;
assert.equalKey( light, object, 'type' );
Expand Down