|
@@ -46,8 +46,6 @@ function Geometry() {
|
|
this.boundingBox = null;
|
|
this.boundingBox = null;
|
|
this.boundingSphere = null;
|
|
this.boundingSphere = null;
|
|
|
|
|
|
- this.userData = {};
|
|
|
|
-
|
|
|
|
// update flags
|
|
// update flags
|
|
|
|
|
|
this.elementsNeedUpdate = false;
|
|
this.elementsNeedUpdate = false;
|
|
@@ -989,7 +987,6 @@ Geometry.prototype = Object.assign( Object.create( EventDispatcher.prototype ),
|
|
data.uuid = this.uuid;
|
|
data.uuid = this.uuid;
|
|
data.type = this.type;
|
|
data.type = this.type;
|
|
if ( this.name !== '' ) data.name = this.name;
|
|
if ( this.name !== '' ) data.name = this.name;
|
|
- if ( Object.keys( this.userData ).length > 0 ) data.userData = this.userData;
|
|
|
|
|
|
|
|
if ( this.parameters !== undefined ) {
|
|
if ( this.parameters !== undefined ) {
|
|
|
|
|
|
@@ -1418,10 +1415,6 @@ Geometry.prototype = Object.assign( Object.create( EventDispatcher.prototype ),
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
- // user data
|
|
|
|
-
|
|
|
|
- this.userData = source.userData;
|
|
|
|
-
|
|
|
|
// update flags
|
|
// update flags
|
|
|
|
|
|
this.elementsNeedUpdate = source.elementsNeedUpdate;
|
|
this.elementsNeedUpdate = source.elementsNeedUpdate;
|