Skip to content

Commit

Permalink
fix build #122
Browse files Browse the repository at this point in the history
  • Loading branch information
brianzinn committed Feb 18, 2021
1 parent a8c7fe2 commit 6acc266
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hooks/loaders/useSceneLoader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export type SceneLoaderOptions = {
/**
* An array of mesh names, a single mesh name, or empty string for all meshes that filter what meshes are imported
*/
meshNames: any
meshNames?: any

/**
* set that all meshes receive shadows.
Expand Down Expand Up @@ -120,7 +120,7 @@ const useSceneLoaderWithCache = (): (rootUrl: string, sceneFilename: string, plu
loadedModel.status = LoaderStatus.Loading

let loader: Nullable<ISceneLoaderPlugin | ISceneLoaderPluginAsync> = SceneLoader.ImportMesh(
meshNames: opts.meshNames,
opts.meshNames,
rootUrl,
sceneFilename,
scene,
Expand Down

0 comments on commit 6acc266

Please sign in to comment.