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

Only store import settings #10

Open
stefnotch opened this issue Jan 6, 2020 · 2 comments
Open

Only store import settings #10

stefnotch opened this issue Jan 6, 2020 · 2 comments

Comments

@stefnotch
Copy link
Collaborator

stefnotch commented Jan 6, 2020

Currently, when you import a file (say .png), you'll end up with a binary .flax file. This file stores the image and the import settings.
Combined with an auto importer, the .flax file is a partially auto-generated file. So, I was wondering if it's possible to only store the import settings in a GitHub repository and how you would go about doing so?

It seems like it could work like this (names are subject to change)

  • /Source/Assets: Original files
  • Somewhere: Import settings?
  • /Content/Imported: Imported files

It could be added to the .gitignore, however that requires super deterministic importers that don't change across versions.

@stefnotch
Copy link
Collaborator Author

guids are generated as random based on time and some pc stats so they are unique (not based on asset path) but about this I started refactoring projects workspace and shaders source files will appear in the Source subdirectory and flax will import them as .flax files into Content with stable Ids so I guess the same could be added to allow placing other assets there or add kind of API for plugin to handle this better
-- mafiesto4

@stefnotch
Copy link
Collaborator Author

image
-- Aaron Beardless

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

1 participant