未验证 提交 7fc5058f 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #18589 from habx/fix/gltf-exporter-scene-userdata

Remove outdated serializeUserData call in GLTFExporter
...@@ -1906,12 +1906,6 @@ THREE.GLTFExporter.prototype = { ...@@ -1906,12 +1906,6 @@ THREE.GLTFExporter.prototype = {
} }
if ( scene.userData && Object.keys( scene.userData ).length > 0 ) {
gltfScene.extras = serializeUserData( scene );
}
outputJSON.scenes.push( gltfScene ); outputJSON.scenes.push( gltfScene );
var nodes = []; var nodes = [];
......
...@@ -1928,12 +1928,6 @@ GLTFExporter.prototype = { ...@@ -1928,12 +1928,6 @@ GLTFExporter.prototype = {
} }
if ( scene.userData && Object.keys( scene.userData ).length > 0 ) {
gltfScene.extras = serializeUserData( scene );
}
outputJSON.scenes.push( gltfScene ); outputJSON.scenes.push( gltfScene );
var nodes = []; var nodes = [];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册