Skip to content

Commit 50e571e

Browse files
authored
GLTFLoader: Update setDRACOLoader to accept null value (#2127)
1 parent 7daa2a0 commit 50e571e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

types/three/examples/jsm/loaders/GLTFLoader.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class GLTFLoader extends Loader<GLTF> {
4747

4848
constructor(manager?: LoadingManager);
4949

50-
setDRACOLoader(dracoLoader: DRACOLoader): this;
50+
setDRACOLoader(dracoLoader: DRACOLoader | null): this;
5151
setKTX2Loader(ktx2Loader: KTX2Loader | null): this;
5252
setMeshoptDecoder(meshoptDecoder: typeof MeshoptDecoder | null): this;
5353

0 commit comments

Comments
 (0)