diff --git a/src/components/previews/ObjectViewer.vue b/src/components/previews/ObjectViewer.vue index 8ac90a9c9a..f275820bee 100644 --- a/src/components/previews/ObjectViewer.vue +++ b/src/components/previews/ObjectViewer.vue @@ -83,7 +83,9 @@ export default { const materials = texture[materialsSymbol] materials.forEach(material => { material.wireframe = true - material.emissive.setHex(0xc0c0c0) + material.color.setHex(0xc0c0c0) + material.emissive?.setHex(0xc0c0c0) + material.emissiveMap = null material.envMapIntensity = 0 }) } diff --git a/src/lib/files.js b/src/lib/files.js index 8f50b46b99..475cf80935 100644 --- a/src/lib/files.js +++ b/src/lib/files.js @@ -5,6 +5,7 @@ const ALL_EXTENSIONS = [ 'mov', 'obj', 'glb', + 'gltf', 'pdf', 'ma', 'mb',