Hi all! Is it possible to prevent some files to be imported by Godot automatically? As this creates annoying mess in project directory for nothing. And consumes time on reimport. I need to put some files that need to be processed by script before importing (basically combined),
How can I prevent some files to be imported?
With the Better Collada Exporter (if you use Blender), you can restrict what is exported to just the objects currently selected or certain object types. The Godot Export Manager though allows you to place the objects to export to a certain file in a group and only that group goes in the export.
If the issue is with other files such as textures or sounds. You can copy & paste your needed resources into folders placed within your Godot Project directory, doing that will auto-import just those resources.
well, I mainly ask how to prevent some .pngs and .daes and .objs to be imported automatically (huge and pointless, also sometimes crash editor) while allowing others to be imported.
- Edited
You can add a .gdignore
file at the root of a directory to make Godot's import process ignore its contents. See this issue for caveats (it only affects resource importing, not loading).
Thanks a lot, it is exactly what I want. Could be more in ways of .gitignore, but I'm not complaining.