Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
UX3D-haertl committed Oct 1, 2024
1 parent e7c9cf3 commit eca58ff
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,17 +153,17 @@ export default async () => {

return state;
}).catch((error) => {
console.error("fail: "+error);
console.error("Loading failed: "+ error);
resourceLoader
.loadGltf(undefined,undefined)
.then((gltf) => {
state.gltf = gltf;
state.sceneIndex = 0 ;
state.cameraIndex = undefined;

uiModel.exitLoadingState();
redraw = true;
});
.loadGltf(undefined, undefined)
.then((gltf) => {
state.gltf = gltf;
state.sceneIndex = 0;
state.cameraIndex = undefined;

uiModel.exitLoadingState();
redraw = true;
});
return state;
})
);
Expand Down

0 comments on commit eca58ff

Please sign in to comment.