diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-15 00:46:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-15 00:46:04 +0100 |
commit | 8bb163807a63ad4f5b6ea6469149252ea5304881 (patch) | |
tree | 88817f9593709cd78457912f7372d5f4141e78c8 /core | |
parent | 315e94ee2a3c8a5f3e68bba2a8ee82c1b4b31901 (diff) | |
parent | cd2a4990844fac72ae624a51bb797716e69ce2c3 (diff) |
Merge pull request #54976 from reduz/importer-options-by-path
Diffstat (limited to 'core')
-rw-r--r-- | core/io/resource_importer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/resource_importer.h b/core/io/resource_importer.h index a1cacbd306..cd583e2533 100644 --- a/core/io/resource_importer.h +++ b/core/io/resource_importer.h @@ -134,8 +134,8 @@ public: virtual int get_preset_count() const { return 0; } virtual String get_preset_name(int p_idx) const { return String(); } - virtual void get_import_options(List<ImportOption> *r_options, int p_preset = 0) const = 0; - virtual bool get_option_visibility(const String &p_option, const Map<StringName, Variant> &p_options) const = 0; + virtual void get_import_options(const String &p_path, List<ImportOption> *r_options, int p_preset = 0) const = 0; + virtual bool get_option_visibility(const String &p_path, const String &p_option, const Map<StringName, Variant> &p_options) const = 0; virtual String get_option_group_file() const { return String(); } virtual Error import(const String &p_source_file, const String &p_save_path, const Map<StringName, Variant> &p_options, List<String> *r_platform_variants, List<String> *r_gen_files = nullptr, Variant *r_metadata = nullptr) = 0; |