My mesh appears to be invalid, where it was valid in v148 it is now invalid in v155.
I assume the loader is expecting a .drc file as the documentation suggests.
The file has not changed, only my version of threejs.
I have it working just fine in the online editor.
Is there anything that I need to change about what I am doing from v148 to v155?
import { LoadingManager, Object3D } from 'three';
import { DRACOLoader } from 'three/examples/jsm/loaders/DRACOLoader';
import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader';
export class MeshLoader {
manager: LoadingManager;
dracoLoader: DRACOLoader;
constructor() {
this.manager = new LoadingManager();
this.dracoLoader = new DRACOLoader();
this.dracoLoader.setDecoderPath('./node_modules/three/examples/jsm/libs/draco/');
}
public load = (path: string) => {
return new GLTFLoader(this.manager).setDRACOLoader(this.dracoLoader).loadAsync(path);
}
}