|
@@ -29333,8 +29333,8 @@ class Scene extends Object3D {
|
|
const data = super.toJSON( meta );
|
|
const data = super.toJSON( meta );
|
|
|
|
|
|
if ( this.fog !== null ) data.object.fog = this.fog.toJSON();
|
|
if ( this.fog !== null ) data.object.fog = this.fog.toJSON();
|
|
- if ( this.backgroundBlurriness > 0 ) data.backgroundBlurriness = this.backgroundBlurriness;
|
|
|
|
- if ( this.backgroundIntensity !== 1 ) data.backgroundIntensity = this.backgroundIntensity;
|
|
|
|
|
|
+ if ( this.backgroundBlurriness > 0 ) data.object.backgroundBlurriness = this.backgroundBlurriness;
|
|
|
|
+ if ( this.backgroundIntensity !== 1 ) data.object.backgroundIntensity = this.backgroundIntensity;
|
|
|
|
|
|
return data;
|
|
return data;
|
|
|
|
|
|
@@ -43243,6 +43243,7 @@ class ObjectLoader extends Loader {
|
|
}
|
|
}
|
|
|
|
|
|
if ( data.backgroundBlurriness !== undefined ) object.backgroundBlurriness = data.backgroundBlurriness;
|
|
if ( data.backgroundBlurriness !== undefined ) object.backgroundBlurriness = data.backgroundBlurriness;
|
|
|
|
+ if ( data.backgroundIntensity !== undefined ) object.backgroundIntensity = data.backgroundIntensity;
|
|
|
|
|
|
break;
|
|
break;
|
|
|
|
|
|
@@ -47639,6 +47640,8 @@ class GLBufferAttribute {
|
|
|
|
|
|
this.isGLBufferAttribute = true;
|
|
this.isGLBufferAttribute = true;
|
|
|
|
|
|
|
|
+ this.name = '';
|
|
|
|
+
|
|
this.buffer = buffer;
|
|
this.buffer = buffer;
|
|
this.type = type;
|
|
this.type = type;
|
|
this.itemSize = itemSize;
|
|
this.itemSize = itemSize;
|