Skip to content

Commit

Permalink
Set use_on_initial_import() in ResourceImporterCSVTranslation to false.
Browse files Browse the repository at this point in the history
This means that if a .csv file is dropped into a project the editor will
not import it by default.
  • Loading branch information
Relintai committed Dec 6, 2024
1 parent abb3548 commit 13fc3de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/import/resource_importer_csv_translation.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class ResourceImporterCSVTranslation : public ResourceImporter {
virtual void get_recognized_extensions(List<String> *p_extensions) const;
virtual String get_save_extension() const;
virtual String get_resource_type() const;
virtual bool use_on_initial_import() const { return false; }

virtual int get_preset_count() const;
virtual String get_preset_name(int p_idx) const;
Expand Down

0 comments on commit 13fc3de

Please sign in to comment.