decentraland / editor-sdk6

VSCode extension for Decentraland SDK6
https://marketplace.visualstudio.com/items?itemName=DecentralandFoundation.decentraland
MIT License
3 stars 0 forks source link

fix: include files from subfolders in GLTF preview #80

Closed cazala closed 1 year ago

cazala commented 1 year ago

Fixes #79 This PR adds a getFilePaths helper which returns all the file paths on a given folder, including all the file paths in subfolders. This is used for the GLTF preview and it fixes there issue caused by GLTF files that loaded files from subdirectory (before this PR we could only support GLTF files that loaded files from the same folder than the GLTF file).