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

Bam cache should remember loader used #1657

Open
rdb opened this issue May 14, 2024 · 0 comments
Open

Bam cache should remember loader used #1657

rdb opened this issue May 14, 2024 · 0 comments
Labels
enhancement usability Stumbling blocks, papercuts, and other rough edges

Comments

@rdb
Copy link
Member

rdb commented May 14, 2024

Description

The bam cache should store the type of the loader used to load a particular model. When loading a model from the cache, it should check that the loader matches the loader it would have used to load the model if it had not been cached. If it does not match, it discards the cached version of the model.

Use Case

When changing the list of available loaders, such as when installing panda3d-gltf, a cached version of the model that was loaded by a different loader (eg. Assimp) may still be used by Panda. This creates user confusion.

@rdb rdb added enhancement usability Stumbling blocks, papercuts, and other rough edges labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement usability Stumbling blocks, papercuts, and other rough edges
Projects
None yet
Development

No branches or pull requests

1 participant