Remove draco tests.
This commit is contained in:
parent
8268cacd25
commit
130e527af3
@ -70,8 +70,7 @@
|
||||
"rollup": "^4.0.2",
|
||||
"run-python3": "^0.0.5",
|
||||
"svgo": "^3.0.2",
|
||||
"typescript": "^5.0.4",
|
||||
"draco3d": "1.5.7"
|
||||
"typescript": "^5.0.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"@simonwep/pickr": "1.9.0",
|
||||
|
||||
@ -66,8 +66,7 @@ describe ('Gltf Importer', function () {
|
||||
let testFileList = [
|
||||
['Box/glTF', 'Box.gltf'],
|
||||
['Box/glTF-Embedded', 'Box.gltf'],
|
||||
['Box/glTF-Binary', 'Box.glb'],
|
||||
['Box/glTF-Draco', 'Box.gltf']
|
||||
['Box/glTF-Binary', 'Box.glb']
|
||||
];
|
||||
let processed = 0;
|
||||
for (let i = 0; i < testFileList.length; i++) {
|
||||
|
||||
@ -81,17 +81,7 @@ export function SetGlobals ()
|
||||
head : {
|
||||
appendChild : function (element) {
|
||||
if (element.type === 'text/javascript') {
|
||||
console.log (element.src);
|
||||
if (element.src.indexOf ('draco_decoder_nodejs.min.js') !== -1) {
|
||||
import ('draco3d').then (mod => {
|
||||
global.DracoDecoderModule = function () {
|
||||
return mod.createDecoderModule ();
|
||||
};
|
||||
element.onload ();
|
||||
});
|
||||
} else {
|
||||
element.onerror ();
|
||||
}
|
||||
element.onerror ();
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user