|
@@ -1348,7 +1348,7 @@ THREE.GLTFExporter.prototype = {
|
|
|
attribute.getX( j ) - baseAttribute.getX( j ),
|
|
|
attribute.getY( j ) - baseAttribute.getY( j ),
|
|
|
attribute.getZ( j ) - baseAttribute.getZ( j )
|
|
|
- );
|
|
|
+ );
|
|
|
|
|
|
}
|
|
|
|
|
@@ -1922,7 +1922,7 @@ THREE.GLTFExporter.prototype = {
|
|
|
|
|
|
if ( scene.userData && Object.keys( scene.userData ).length > 0 ) {
|
|
|
|
|
|
- gltfScene.extras = serializeUserData( scene );
|
|
|
+ gltfScene.extras = serializeUserData( scene, gltfScene );
|
|
|
|
|
|
}
|
|
|
|