-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
"CSV" import preset (for CSV files) doesn't work as default preset #33979
Comments
The option to set a default preset applies to new imports, not already imported resources. So you need to reimport those (you can multi-select and click "Import"), or delete them |
I did it. |
Ah yes, "Save as Default for "Import Type"" doesn't change the default for the file, but the default settings when using this import type. For example if you use "CSV Translation" and change the delimter option to "Semicolon", you can set this as default for all future imports of "CSV Translation". As it is now I don't think there's a way to define what kind of import type should be used as default for a given file extension. |
Ah, now I understand.
Ouch, sad story. I guess any other file has no issue like that due to direct extension's nature (jpg=image, ogg=sound,TXT=text, ecc); CSV is different, it can store virtually anything. |
I'll close this as "fixed" since the plain "CSV" importer is removed with #47301, and the proper way to achieve what was likely intended is now to use the "Keep" import option (see #47268), to prevent This doesn't address the more general issue about not being able to define what should be the default, but that should likely be re-opened as a formal proposal in https://github.com/godotengine/godot-proposals to match the current UX. Notably, there is now a Project Settings tab to set Importer Defaults: #46354. This could be expended to allow setting which importer to use by default for a given extension (including the new "Keep"). |
I opened a proposal for this: godotengine/godot-proposals#2500 |
Godot version:
3.2 beta2
OS/device including version:
W10
Issue description:
Setting CSV default import preset to "CSV" (instead of "CSV Translation") allow editor to import as "CSV" the selected file only
Steps to reproduce:
Create a blank project
create 4 CSV file, names file1.csv, file2.csv, file3.csv, file4.csv in project folder
go back to editor to allow autoimport: 4 errors are reported, one for each csv file, that's normal
select file1.csv,
click "import" tab
in "import" dropdown box you see "CSV translation": choose "CSV"
click "preset" button next ro the import dropdown box
select "set as default for CSV"
click "Reimport" button at the bottom
click "Save scene, reimport and restart"
Now 3 import errors are reported: yes, they were 4 before, but I'm expecting no import errors.
CSVtest.zip
I'm expecting this:
Minimal reproduction project:
CSVtest.zip
The text was updated successfully, but these errors were encountered: