auto-git:
[change] src/assets/gltf-model-import.ts
This commit is contained in:
@@ -337,7 +337,7 @@ async function loadGltfFromArrayBuffer(arrayBuffer: ArrayBuffer): Promise<GLTF>
|
|||||||
return loader.parseAsync(arrayBuffer, "");
|
return loader.parseAsync(arrayBuffer, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
function createConfiguredGltfLoader(): GLTFLoader {
|
export function createConfiguredGltfLoader(): GLTFLoader {
|
||||||
const loader = new GLTFLoader();
|
const loader = new GLTFLoader();
|
||||||
loader.setDRACOLoader(getSharedDracoLoader());
|
loader.setDRACOLoader(getSharedDracoLoader());
|
||||||
return loader;
|
return loader;
|
||||||
|
|||||||
Reference in New Issue
Block a user