Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview images for embedded json do not load. #3

Open
fire opened this issue Apr 15, 2024 · 2 comments
Open

Preview images for embedded json do not load. #3

fire opened this issue Apr 15, 2024 · 2 comments

Comments

@fire
Copy link

fire commented Apr 15, 2024

image

Although previewing works for .glb they do not work for embedded json. However, clicking on the .gltf file works.

image

image

f11015d194b74147b5916defb9e7d2fa.gltf.zip

@warrenm
Copy link
Contributor

warrenm commented Apr 15, 2024

This is behaving as expected.

We explicitly chose not to enable QuickLook for .gltf files because they frequently reference external files, which prevent complete loading of assets because of platform security limitations (App Sandbox). glTF Embedded assets are not particularly common in the wild, and the alternative to the current behavior is an experience where the majority of .gltf files that do reference external files fail to load. Because there is no way to determine a priori whether a .gltf file contains such references, we err on the side of showing a generic document icon.

@fire
Copy link
Author

fire commented Apr 15, 2024

Thanks for the explanation. I understand the security concerns, but support for .glb and .gltf files in QuickLook would be really helpful for my workflow with my mix of files. Any chance this could be reconsidered in the future?

For me, the inability to use the viewer for preview of all standard gltf files means I will have to write a custom application to replace quickview for previewing my work in MacOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants