Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
bug fix for new scenes
Browse files Browse the repository at this point in the history
  • Loading branch information
HexaField committed Jun 19, 2024
1 parent 408ed99 commit 409c341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/functions/sceneFunctions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export const onNewScene = async (
type: 'scene',
body: templateURL,
path: 'public/scenes/New-Scene.gltf',
thumbnailKey: templateURL.replace('.gltf', '.thumbnail.jpg'),
thumbnailKey: templateURL.replace(config.client.fileServer, '').replace('.gltf', '.thumbnail.jpg'),
unique: true
})
if (!sceneData) return
Expand Down

0 comments on commit 409c341

Please sign in to comment.