summaryrefslogtreecommitdiff
path: root/editor/import/resource_importer_dynamicfont.h
diff options
context:
space:
mode:
authorreduz <reduzio@gmail.com>2021-11-14 14:02:38 -0300
committerreduz <reduzio@gmail.com>2021-11-14 14:06:10 -0300
commitcd2a4990844fac72ae624a51bb797716e69ce2c3 (patch)
tree4f6461c676d35ac1974a6c28fedf88d7008741f4 /editor/import/resource_importer_dynamicfont.h
parented300d7be536b1ec325ba77521eceee73dd0e5fb (diff)
Add path to functions that return iporter options
-Allows displaying custom options for specific file format variants -Added support for scene format import to retrieve custom options This PR is necessary for #54886 to be implemented properly.
Diffstat (limited to 'editor/import/resource_importer_dynamicfont.h')
-rw-r--r--editor/import/resource_importer_dynamicfont.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/import/resource_importer_dynamicfont.h b/editor/import/resource_importer_dynamicfont.h
index 52f256ab96..cb5294b9dd 100644
--- a/editor/import/resource_importer_dynamicfont.h
+++ b/editor/import/resource_importer_dynamicfont.h
@@ -57,8 +57,8 @@ public:
virtual int get_preset_count() const override;
virtual String get_preset_name(int p_idx) const override;
- virtual void get_import_options(List<ImportOption> *r_options, int p_preset = 0) const override;
- virtual bool get_option_visibility(const String &p_option, const Map<StringName, Variant> &p_options) const override;
+ virtual void get_import_options(const String &p_path, List<ImportOption> *r_options, int p_preset = 0) const override;
+ virtual bool get_option_visibility(const String &p_path, const String &p_option, const Map<StringName, Variant> &p_options) const override;
bool has_advanced_options() const override;
void show_advanced_options(const String &p_path) override;